weenhanceit / infrastructure

Build infrastructure for Weenhanceit projects
MIT License
0 stars 1 forks source link

Logrotate #8

Open lcreid opened 6 years ago

lcreid commented 6 years ago

Need to set up logrotate for each application's log/production.log.

The Puma logs don't grow at all, so no need to rotate them.

lcreid commented 6 years ago

Need to verify it's working.

lcreid commented 5 years ago

Rails (or more correctly, the logger used by Rails) comes with its own way of rotating logs, which eliminates the need to figure out how to send Rails a signal to get it to switch logs.