[root@bogon logs]# vi /etc/logrotate.conf
/var/log/wtmp {
monthly
create 0664 root utmp
minsize 1M
rotate 1
}


/var/log/btmp {
missingok
monthly
create 0600 root utmp
rotate 1
}
/usr/local/tomcat1/logs/access_log{
daily
create
rotate 30
}

[root@bogon logs]# logrotate -v /etc/logrotate.conf