managelogs is a log processing utility
primarily intended to be used in conjunction with
piped logfile feature.
It is an alternative to the well known rotatelogs and cronolog
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 also provides a lot of useful features like on-the-fly compression, symbolic
links to the current and archive log files, setuid to a given user,
writing to multiple output channels, and more.
managelogs is written in C and uses the
Apache Portable Runtime library
for low-level system access, ensuring optimal portability across most
For an introduction to managelogs and a list of features,