How To Log Like A Boss With Node.js

How To Log Like A Boss With Node.js

We have one thing to hold on to! That was our logging strategy. When a bug occurred, we just opened up CloudWatch logs and queried, believe me after five minutes or little less, the problem was right in your eyes.

Last couple weeks were tough for me. The reason behind the challenging and long working hours for weeks was launching the new version of a backend which had been developed for seven years. From day to day until this September, the codebase got bigger and bigger with every new features and their bug fixes. I joined this journey at July 2019 and put so much effort with my colleagues.

First, we split the application into two logical partition. One for customers and one for service providers. Then we decided to start this overhauling on “service providers” because business logic were heavy at this side. Then we split the codebase into microservices. More pressure, more things to ignore.

When they put more pressure C-level decided to ignore things. At the end of the day we had a monolithic backend with some of the features and bunch of microservices. As you can imagine things became complicated. But we had one thing to hold on to! That was our logging strategy. We logged every step. When a bug occurred, we just opened up CloudWatch logs and queried, believe me after five minutes or little less, the problem was right in your eyes.

nodejs logging javascript software-development software-engineering

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Offshore Software Development - Best Practices

To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.

Software Developer vs Software Engineer — Differences: Bogus or Real?

In this article, see if there are any differences between software developers and software engineers. What you’re about to read mostly revolves around my personal thoughts, deductions, and offbeat imagination. If you have different sentiments, add them in the comment section, and let’s dispute! So, today’s topic…

Hire NodeJs Developer

Looking to build dynamic, extensively featured, and full-fledged web applications? **[Hire NodeJs Developer](https://hourlydeveloper.io/hire-dedicated-node-js-developer/ "Hire NodeJs Developer")** to create a real-time, faster, and scalable...

5 Core Criteria for Selecting Software Development Company - TopDevelopers.co

Check out these five criteria for the selection of your software vendor, and you will never regret having the wrong quality product made for you.

Developer or Engineer? Does It Make a Difference?

To summarise the main differences between the software developer and engineer: A developer executes. ... So the software developer is mainly focused on developing code that is a part of software development cycle. An engineer designs and plans applying the principles of engineering to software development.