summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_logrotate.pl
AgeCommit message (Collapse)Author
2012-09-04Configure logrotate to maintain log file ownershipJames Davidson
logrotate needs the create config option so that it keeps the original log file's permissions and ownership. Fixes bug 8240
2012-04-18Use rsyslog to trigger log rotationJames Davidson
The previous implementation of log rotation used an hourly cron job to check log file size and possibly perform a rotation. If the logging rate is high, this interval may allow for root file system space exhustion. Utilizing rsyslog's outchannel mechanism enables log rotation to be initiated as soon as the log file becomes larger than its configured size. Fixes Bug 7807.
2011-01-20Change for rsyslog reloadStephen Hemminger
Bug 6663 (cherry picked from commit fa7d81f125033b7ed4bd549eb6905918612a6877)
2010-10-08Convert from syslog to rsyslogStephen Hemminger
Configuration file is /etc/rsyslog.conf and it is supports directory of include parameters so do not need to edit rsyslog.conf directly
2009-03-23Fix bare file handle warningStephen Hemminger
2007-10-19move "system" configuration templates/scripts from vyatta-cfg.An-Cheng Huang