lagotto / alm-report

ALM Reports
http://almreports.plos.org/
MIT License
8 stars 3 forks source link

use logstash JSON format for logging in production #127

Closed mfenner closed 9 years ago

mfenner commented 9 years ago

Logging in development and test environments is unchanged. Use ENV variables LOGSTASH_TYPE and LOGSTASH_TYPE to configure logstash logging, default is logging to log/production.log on localhost.

production.log is now in JSON format, so renaming the existing production.log before using this code is recommended.

jure commented 9 years ago

Is this ready to go? Who will handle the production.log renaming?

mfenner commented 9 years ago

I can do the log renaming. Should be ready to go.