QSROTATE(1) | qsrotate man page | QSROTATE(1) |
qsrotate - a log rotation tool (similar to Apache's rotatelogs).
qsrotate -o <file> [-s <sec> [-t <hours>]] [-b <bytes>] [-f] [-z] [-g <num>] [-u <name>] [-m <mask>] [-p] [-d]
qsrotate reads from stdin (piped log) and writes the data to the provided file rotating the file after the specified time.
TransferLog "|/usr/bin/qsrotate -f -z -g 3 -o /var/log/apache/access.log -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.
- You may trigger a file rotation manually by sending the signal USR1 to the
process.
qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qsre(1), qsrespeed(1), qspng(1), qssign(1), qstail(1)
Pascal Buchbinder, http://mod-qos.sourceforge.net/
May 2019 | mod_qos utilities 11.63 |