Friday, 15 February 2019

How to create a Mongodb write stream for morgan's logging?

I'm new to logging and a little unsure of how to handle morgans logs. what is the common practice? should they be logged to the database or just the stdout? I'm using mongodb and I'm not sure how to create a stream for mongodb.app is deployed to heroku and those can't write to local files.

Submitted February 15, 2019 at 07:38PM by Demado

No comments:

Post a Comment