NodeJS Logging

Logging for production nodeJS applications

Collecting some logs is easier than others…


Creating Logs

Continuation Local Storage

Diagram showing how global variables (signified with thread ids) can be changed between function invocations ©

API Gateway and ALB Request Headers



How to use it
let logger = cls.logger


A DevOps engineer specialised in cloud infrastructure with a background in theoretical and experimental physics.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store