Created
February 23, 2016 03:30
-
-
Save inscapist/608d3c52a84cac6a254c to your computer and use it in GitHub Desktop.
logrotate for production log
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/ubuntu/lending_platform/log/production.log { | |
weekly | |
missingok | |
rotate 5 | |
compress | |
delaycompress | |
notifempty | |
create 0644 ubuntu ubuntu | |
maxsize 2M | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment