YaleSTC / reservations

Manage equipment loans & reservations. Who can borrow what, for how long?
yalestc.github.io/reservations
MIT License
139 stars 58 forks source link

Log files should automatically be rotated #1743

Closed orenyk closed 5 years ago

orenyk commented 5 years ago

See here for an easy solution.

orenyk commented 5 years ago

I think we should also drop our log level to info from debug; at the rate we're going we're adding about 90 MB/day to the BMEC logs, so across all of the instances it's a pretty massive amount of information. Looks like we switched from :info to :debug when we upgraded to Rails 4.2 since debug is the default, but it's quickly going to overwhelm our disk space (we're talking over 600 MB/week for a single instance).