Status

VERIFIED FIXED
5 years ago
5 years ago

People

(Reporter: cade, Assigned: cade)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
As a wise man once said:

"<jp-better> you cannot build a cabin-o-knowledge without the right logs"
(Assignee)

Comment 1

5 years ago
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+
(Assignee)

Updated

5 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Comment 4

5 years ago
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.