| $ 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