-
-
Save chusiang/3fe4e89bccb3e85f0e2a to your computer and use it in GitHub Desktop.
Laravel logrotate configuration (1 daily rotation, 7 days retention) on Ubuntu 14.04
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/USERNAME/workspace/laravel/storage/logs/laravel.log { | |
daily | |
missingok | |
rotate 7 | |
maxage 7 | |
compress | |
notifempty | |
create 644 www-data www-data | |
su www-data www-data | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment