Difference between revisions of "Limit the size of .log files & the journal"
Views
Actions
Namespaces
Variants
Tools
Limit the size of .log files & the journal (view source)
Revision as of 13:15, 16 August 2013
, 10 years ago→The effect of running /etc/logrotate.d/rotate.logs everyday
imported>Handy |
imported>Handy |
||
Line 234: | Line 234: | ||
Any gzip compressed file, (they have a .gz file extension) will be copied to /var/log/old where it will stay, with the number in its name being bumped everyday until it reaches 7. on the next day, instead of going to 8 it will be deleted. | Any gzip compressed file, (they have a .gz file extension) will be copied to /var/log/old where it will stay, with the number in its name being bumped everyday until it reaches 7. on the next day, instead of going to 8 it will be deleted. | ||
<br clear="all"/> | <br clear="all"/> |