As a wise man once said: "<jp-better> you cannot build a cabin-o-knowledge without the right logs"
Created attachment 796801 [details] [review] https://github.com/mozilla/MakeAPI/pull/138 This patch uses bunyan to generate GELF style logs from requests and errors. `node server.js | GRAYLOG_HOST=<host> GRAYLOG_PORT=<port> GRAYLOG_FACILITY=<facility> ./bin/messina` Normal logging is used if you don't define the GRAYLOG_PORT and GRAYLOG_HOST variables in your .env
Attachment #796801 - Flags: review?(schranz.m)
Comment on attachment 796801 [details] [review] https://github.com/mozilla/MakeAPI/pull/138 R+ with nits.
Attachment #796801 - Flags: review?(schranz.m) → review+
Commit pushed to master at https://github.com/mozilla/MakeAPI https://github.com/mozilla/MakeAPI/commit/7f6a4fc47d9f190ccc6787bf454ae71ee2891888 Bug 909809 - GELF Logging
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
GELF logging enabled for prod!
Status: RESOLVED → VERIFIED
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.