rendered paste body# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# send errors to root
errors dax@1and1.com
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
compress
# RPM packages drop log rotation information into this directory
#include /usr/local/etc/logrotate.d
/var/log/lastlog
{
monthly
rotate 1
}
# system-specific logs may be configured here
/var/log/auth.log
{
rotate 3
weekly
}
/var/log/cron
{
rotate 3
weekly
}
/var/log/debug.log
{
rotate 3
weekly
}
/var/log/httpd-access.log
{
rotate 3
size=200M
}
/var/log/ldappdc
{
rotate 3
size=200M
}
/var/log/maillog
{
rotate 3
weekly
}
/var/log/messages
{
rotate 3
weekly
}
/var/log/php-error.log
{
rotate 3
size=200M
}