Obsolete!!! Fucking old examples...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
546 B

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