Skip to content

Instantly share code, notes, and snippets.

@krohrbaugh
Created December 6, 2010 21:37
Show Gist options
  • Save krohrbaugh/731005 to your computer and use it in GitHub Desktop.
Save krohrbaugh/731005 to your computer and use it in GitHub Desktop.
logrotate configuration for Chatterbox (Production)
/var/www/myapp/current/log/newrelic_agent.log {
weekly
size 5M
create 700 deploy deploy
rotate 2
}
/var/www/myapp/current/log/process_alert.log {
weekly
size 5M
create 700 deploy deploy
rotate 2
}
/var/www/myapp/current/log/process_distill.log {
daily
size 100M
create 700 deploy deploy
rotate 2
}
/var/www/myapp/current/log/process_feed.log {
daily
size 100M
create 700 deploy deploy
rotate 5
}
/var/www/myapp/current/log/process_harvest.log {
daily
size 100M
create 700 deploy deploy
rotate 5
}
/var/www/myapp/current/log/process_tag.log {
daily
size 100M
create 700 deploy deploy
rotate 2
}
/var/www/myapp/current/log/production.log {
daily
size 50M
create 700 deploy deploy
rotate 4
}
/var/www/myapp/current/log/scripts_dbdump.log {
weekly
size 1M
create 700 deploy deploy
rotate 2
}
/var/www/myapp/current/log/scripts_precache_tag.log {
weekly
size 5M
create 700 deploy deploy
rotate 2
}
/var/www/myapp/current/log/scripts_precache_widget.log {
weekly
size 5M
create 700 deploy deploy
rotate 2
}
/var/www/myapp/current/log/scripts_precache.log {
weekly
size 5M
create 700 deploy deploy
rotate 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment