Skip to content

Instantly share code, notes, and snippets.

Created Mar 24, 2015
What would you like to do?
include_recipe "logrotate"
logrotate_app "tomcat" do
cookbook "logrotate"
path "/var/log/tomcat/catalina.out"
options ["copytruncate", "missingok", "notifempty"]
frequency "daily"
rotate 3
create "644 tomcat tomcat"
size "50M"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment