-
-
Save tranghaviet/115430e24d696c834d5b4cf705cbb57e to your computer and use it in GitHub Desktop.
Laravel logrotate configuration (1 daily rotation, 7 days retention)
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
/home/laravel/app/storage/logs/laravel.log { | |
daily | |
missingok | |
rotate 7 | |
maxage 7 | |
compress | |
notifempty | |
create 755 user group | |
su user group | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment