Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Server logs/logger #1396

Closed
mathpaquette opened this issue Jul 12, 2016 · 5 comments
Closed

Server logs/logger #1396

mathpaquette opened this issue Jul 12, 2016 · 5 comments
Assignees

Comments

@mathpaquette
Copy link

Hi guys,

Whats the recommended way to log errors in the backend? I'm using the 0.4.2 tag and I dont see any built-in mechanism to log such information. Thanks for your help!
Mathieu

@codydaig
Copy link
Member

@freemind- The framework uses morgan, and morgan can be defined to log to a file. https://github.com/expressjs/morgan#write-logs-to-a-file

@mathpaquette
Copy link
Author

Well I will cherry pick this commit,

feat(logs): replacing unmaintained and vulnerable file-stream-rotator package with winston log facility (#1334)

it will allow me to use logger with defined level in the same file 👍

@codydaig
Copy link
Member

There ya go!

@lirantal
Copy link
Member

@freemind- very cool, glad to see you adopting it! :)

@mathpaquette
Copy link
Author

@lirantal I embrace it! Thank you so much guys!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants