managelogs is a log processing program to be used in conjunction with Apache's piped logfile feature. It is an alternative to the well known rotatelogs and cronolog programs. Its primary purpose is to solve the "log filesystem full" issue by purging the oldest log files when the total log size exceeds a given value. It can also write compressed files, maintain symbolic links to the current and archive log files, and setuid to a given user. It maintains its state across Apache restarts, and allows writing to several output channels, each one having its own configuration.