Changes

Linux System Log Rotation

834 bytes added, 00:19, 27 April 2013
The following lines were added (+) and removed (-):
== External Resources ==== configuration testing and some important flags ==* [http://www.thegeekstuff.com/2010/07/logrotate-examples/ HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples]=== Verbose ===* [http://aaron.kavlie.net/2010/05/server-admin/apache-logs-and-logrotate-d/ Apache logs and logrotate.d]-v  tells logrotate to say what it’s doing while it’s doing it. It’s very useful when trying to find out why logrotate doesn’t rotate a log when you want it to.=== Debug ===-d  tells logrotate to go through the motions of rotating logs but not actually rotate them.  Good for checking that the config file is formatted properly and that logrotate can find the log files it would rotate. It doesn’t actually run the rotations and it doesn’t test some parts of the process like the postrotate scripts.=== Force ===-f  forces logrotate to rotate all logs, whether or not they would normally need to be rotated at that time. == External Resources ==* [http://www.thegeekstuff.com/2010/07/logrotate-examples/ HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples]* [http://aaron.kavlie.net/2010/05/server-admin/apache-logs-and-logrotate-d/ Apache logs and logrotate.d]* [http://www.rackspace.com/knowledge_center/article/understanding-logrotate-part-2 Understanding logrotate - part 2] 
Bureaucrat, administrator
16,195
edits