-
-
Save MrMMorris/6ea900f41aeeed1321dd to your computer and use it in GitHub Desktop.
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
$ cat /etc/logrotate.d/consul | |
/var/log/consul { | |
rotate 10 | |
daily | |
compress | |
missingok | |
notifempty | |
create 644 root root | |
} | |
$ ls -la /var/log/consul | |
-rw-r--r-- 1 root root 516234 Feb 8 11:30 /var/log/consul |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment