earthcubeprojects-chords / chords

EarthCube CHORDS application code
GNU General Public License v2.0
25 stars 13 forks source link

Change log rotation to time-based #483

Closed zastruga closed 5 years ago

zastruga commented 6 years ago

Log rotation currently occurs at 5MB, we should change this to a daily log roll and hang on to maybe 5-10 days worth. Currently, this is in production.rb

config.logger = Logger.new(config.paths['log'].first, 10, 5242880)

zastruga commented 5 years ago

Changed this to keep 7 days worth of logs with daily rotation. Will go out in the next release.