NodeJS logger library project
Budget: $30 – $250 USD
I have a sample NodeJS application, where I want to implement logger module using Winston and express middleware that would keep track of where each service calls are being made and where it is traveling. Consider i have three headers in my incoming request [traceId, spanId and parentSpanId], and also consider i have three layers ReactJS (frontend), NodeJS (backend) and a microservice. When ReactJS makes an api call and pass the three headers [traceId, spanId and parentSpanId] the headers would be passed as it is. But, when next layers calls another service calls "traceId" header will stay same, "spanId" value would be assigned to "parentSpanId" and "spanId" would be assigned a new random value. These headers would keep on changing based on the service calls happening. The main goal is to keep track of all the services based on these headers. Also i have some custom loggers in the NodeJS code base, which need to be optimized and make them working and print some logs to console and a different file as well.