Created
November 13, 2012 03:59
-
-
Save yaotti/4063845 to your computer and use it in GitHub Desktop.
Railsのログローテーション ref: http://qiita.com/items/862ca6c90faa809870fd
This file contains hidden or 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
/home/httpd/Qiita/shared/log/production.log { | |
daily | |
rotate 5 | |
size=10M | |
missingok | |
notifempty | |
delaycompress | |
postrotate | |
kill -USR1 $(cat ~httpd/Qiita/shared/pids/unicorn.pid) | |
endscript | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment