qsrotate
a log rotation tool (similar to Apache's rotatelogs).
- Provided by: libapache2-mod-qos (Version: 11.21-1)
- Report a bug
a log rotation tool (similar to Apache's rotatelogs).
qsrotate -o <file> [-s <sec> [-t <hours>]] [-f] [-z] [-g <num>] [-u <name>] [-p]
qsrotate reads from stdin (piped log) and writes the data to the provided file rotating the file after the specified time.
TransferLog "|qsrotate -f -z -g 3 -o /dest/file -s 86400"
The name of the rotated file will be /dest/filee.YYYYmmddHHMMSS where YYYYmmddHHMMSS is the system time at which the data has been rotated.
Each qsrotate instance must use an individual file.
qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qssign(1), qstail(1)
Pascal Buchbinder, http://opensource.adnovum.ch/mod_qos/