obsolete.bat-scripts/logrotate.conf.example

18 lines
546 B
Plaintext
Raw Normal View History

2016-11-30 02:00:46 +03:00
rem Sample configuration file for logrotatew
rem Comments start with "rem", obviously
rem Optional command to compress rotated logs
compresscmd gzip
rem Extension that compressed files will have; "compressext" is required if you use "compresscmd"
compressext gz
rem Optional command line arguments for the compression command; uncomment if necessary
rem compressoptions -v
rem Rotate c:\temp\test.log, keeping 5 generations
c:\temp\test.log 5
rem Compress all files matching *.log in c:\temp\logs, keeping 5 generations
c:\temp\logs\*.log 5