Last active
February 19, 2016 01:42
-
-
Save denwwer/6184924 to your computer and use it in GitHub Desktop.
log rotate for rails logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PATH_TO_RAILS_APP/log/*.log { | |
daily | |
missingok | |
rotate 30 | |
dateext | |
compress | |
delaycompress | |
notifempty | |
copytruncate | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment