|
A Boolean value indicating whether logs must be compressed before rotating.
When compression is enabled, the existing log file is saved
as a compressed targz
file and fresh log data written to the existing log file.
For example, if the access-log
file for the Apache service has reached the rotate threshold, then it
is compressed as an access-log.targz
file and fresh logs written to the access-log
file, which is now your most current log file.
If compression is disabled, then the existing log data is
copied into a new file and fresh log data written to the existing log
file.
For example, if the access-log
file for the Apache service has reached the rotate threshold, then a new
file, access-log.1
is created into which the existing log data is archived, and fresh log
data written to the access-log
file, which is now your most current log file.
|