-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log: add winston #485
log: add winston #485
Conversation
eb613d7
to
e3db214
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d82f486
to
4e4508b
Compare
); | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
format = winston.format.simple(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah je pensais qu'en prod il fallait que ça soit json le format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Négatif, cela affiche sensiblement la même chose mais en json... Aucun intéret
0ae1fde
to
085a4a9
Compare
085a4a9
to
9a1b2b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CONTEXT
Les logs sur datadog sont ilisible car scalingo rajouter un header a chaque ligne.
FIX
Installé winston pour sortir les erreur en une seule lignes