Logwhacker is a Korn shell script to perform useful operations on log files, under the control of a configuration file. The idea is that a site would run logwhacker on a nightly basis and have it maintain all the log files being generated on a system.
Logwhacker allows logs to be handled in various ways.
The man page for logwhacker is a bit cryptic but it is a useful tool for handling all your logfile problems.
The current version of logwhacker 2.4. It is distributed under the GNU public license. It was developed under solaris 2.6. Your milage may vary. If you have problems with logwhacker send me the details.