# see "man logrotate" for details # rotate log files weekly daily # keep 7 days worth of backlogs rotate 7 # create new (empty) log files after rotating old ones create # uncomment this if you want your log files compressed #compress # Logs are moved into directory for rotation # olddir /var/log/archive # NND packages drop log rotation information into this directory include /etc/logrotate.d /var/log/wtmp { monthly create 0664 root root rotate 1 }