Skip to content

Instantly share code, notes, and snippets.

View constantinoneto's full-sized avatar

Constantino Augusto Dias Neto constantinoneto

View GitHub Profile
@jweslley
jweslley / rails.logrotate
Created January 30, 2012 14:01
Logrotate for Rails
#
# File: /etc/logrotate.d/rails
# Test: logrotate -f /etc/logrotate.d/rails
#
/var/www/*/log/*.log {
daily
dateext
notifempty
missingok
rotate 30