Closed Bug 909809 Opened 11 years ago Closed 11 years ago

Add GELF Logging

Categories

(Webmaker Graveyard :: MakeAPI, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cade, Assigned: cade)

Details

Attachments

(1 file)

As a wise man once said:

"<jp-better> you cannot build a cabin-o-knowledge without the right logs"
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)
Status: ASSIGNED → RESOLVED
Closed: 11 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.

Attachment

General

Created:
Updated:
Size: