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 04:53, 14 August 2013
, 10 years ago→My settings in logrotate.conf don't effect all of the .log files?
imported>Handy |
imported>Handy |
||
Line 85: | Line 85: | ||
=== My settings in logrotate.conf don't effect all of the .log files? === | === My settings in logrotate.conf don't effect all of the .log files? === | ||
Script files that are called via the logrotate.conf file take precedence over the global settings in logrotate.conf . | Script files that are called via the logrotate.conf file take precedence over the global settings in logrotate.conf . I use a script I named '''rotate.logs''' that is set to work on all *.log files, & it does. The few that don't get rotated don't have a .log file extension, so therefore need to each have a duplicate block of script added below my the *.log script that specifies each of their particular names. | ||
<br clear="all"/> | <br clear="all"/> | ||
=== Can I store my scripts where I want? === | === Can I store my scripts where I want? === | ||