Friday, 9 June 2017

Change format of NodeJs server console logs

I'm using ExpressJs. The server logs the requests in the console and it looks like this :

enter image description here

Is there anyway I can

  • Change the format of the logs?
  • Add the request's IP address?
  • Or simply disable it so I can make my own logs with my own listener?

I've been looking around for a while now, but can't seem to figure it out. Thanks!



via Simon Corcos

No comments:

Post a Comment