Created
May 21, 2014 04:05
-
-
Save tbaba/36d0783dc5702cf70ac0 to your computer and use it in GitHub Desktop.
logrotateのファイル名に一意な値を入れたい ref: http://qiita.com/tbaba/items/76d8af798d1c138aaaf1
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
production.log | |
production.log.1 | |
production.log.2 | |
production.log.3 |
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
/var/www/app/shared/log/production.log { | |
delaycompress | |
compress | |
} |
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
production.log | |
production.log.1 | |
production.log.2.gz | |
production.log.3.gz |
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
/var/www/app/shared/log/production.log { | |
delaycompress | |
compress | |
dateext | |
} |
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
production.log | |
production.log.2014-05-21 | |
production.log.2014-05-20.gz | |
production.log.2014-05-19.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment