Skip to content

Instantly share code, notes, and snippets.

@patmandenver
Created August 16, 2015 15:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patmandenver/f89d9d2e6277dd3967d6 to your computer and use it in GitHub Desktop.
Save patmandenver/f89d9d2e6277dd3967d6 to your computer and use it in GitHub Desktop.
Tomcat 8 simple logrotate file /etc/logrotate.d/tomcat8
/10x13/logs/tomcat8/catalina.out {
copytruncate
dateext
dateformat %Y-%m-%d.
extension out
daily
missingok
rotate 30
create 640 tomcat tomcat
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment