Skip to content

Instantly share code, notes, and snippets.

@MrMMorris
Created February 8, 2016 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrMMorris/6ea900f41aeeed1321dd to your computer and use it in GitHub Desktop.
Save MrMMorris/6ea900f41aeeed1321dd to your computer and use it in GitHub Desktop.
$ 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