<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Rotating Linux Log Files &#8211; Part 2: logrotate</title> <atom:link href="http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/feed/" rel="self" type="application/rss+xml" /><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/</link> <description>The Journal Of A Linux Sysadmin</description> <lastBuildDate>Wed, 08 Feb 2012 13:08:17 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Suryo Atmodjo</title><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/comment-page-1/#comment-193655</link> <dc:creator>Suryo Atmodjo</dc:creator> <pubDate>Thu, 03 Nov 2011 03:13:07 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/#comment-193655</guid> <description>I&#039;m glad to know your tutorial Mr. Marius Ducea, because its very helpfull when my file logs is getting bigger and bigger and slow down my server it&#039;s the simple way to fix that when I follow your tutorial step by step . Thanks very much, and I&#039;m sorry My english is bad, I&#039;m Indonesian</description> <content:encoded><![CDATA[<p>I&#8217;m glad to know your tutorial Mr. Marius Ducea, because its very helpfull when my file logs is getting bigger and bigger and slow down my server it&#8217;s the simple way to fix that when I follow your tutorial step by step . Thanks very much, and I&#8217;m sorry My english is bad, I&#8217;m Indonesian</p> ]]></content:encoded> </item> <item><title>By: Log file issue: timestamps</title><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/comment-page-1/#comment-192946</link> <dc:creator>Log file issue: timestamps</dc:creator> <pubDate>Fri, 20 May 2011 15:18:55 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/#comment-192946</guid> <description>[...] logrotate command: http://www.ducea.com/2006/06/06/rota...t-2-logrotate/ [...]</description> <content:encoded><![CDATA[<p>[...] logrotate command: <a
href="http://www.ducea.com/2006/06/06/rota...t-2-logrotate/" rel="nofollow">http://www.ducea.com/2006/06/06/rota&#8230;t-2-logrotate/</a> [...]</p> ]]></content:encoded> </item> <item><title>By: David Pascoe</title><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/comment-page-1/#comment-183623</link> <dc:creator>David Pascoe</dc:creator> <pubDate>Mon, 29 Nov 2010 23:20:22 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/#comment-183623</guid> <description>Mike, Have you tried forcing a logrotate in rc.local ?</description> <content:encoded><![CDATA[<p>Mike, Have you tried forcing a logrotate in rc.local ?</p> ]]></content:encoded> </item> <item><title>By: mike</title><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/comment-page-1/#comment-183620</link> <dc:creator>mike</dc:creator> <pubDate>Mon, 29 Nov 2010 19:35:31 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/#comment-183620</guid> <description>Anybody know how to set parameters in system to obtain starting logrotate on start system? I don&#039;t want to get rotation by day or week. I would like to have rotation by start the system.</description> <content:encoded><![CDATA[<p>Anybody know how to set parameters in system to obtain starting logrotate on start system? I don&#8217;t want to get rotation by day or week. I would like to have rotation by start the system.</p> ]]></content:encoded> </item> <item><title>By: jimmy wotsit</title><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/comment-page-1/#comment-180989</link> <dc:creator>jimmy wotsit</dc:creator> <pubDate>Mon, 07 Sep 2009 04:23:56 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/#comment-180989</guid> <description>hi i am just checking out the man page for logrotateand its says things like:  mailfirst - When using the mail command, mail the just-rotated file, instead of the about-to-expire file.-----Could someone please clarify the definition of the verb &quot;rotate&quot; in the context of logrotate.what is it doing:is a &#039;rotation&#039; - the naming of file with a new number?is a &#039;rotation&#039; - the copying over,  then emptying original?is a &#039;rotation&#039; - the &#039;copying over&#039; of a previously number copy?the man pagfes seem to assume that we know what &#039;a rotation&#039; is?</description> <content:encoded><![CDATA[<p>hi i am just checking out the man page for logrotate</p><p>and its says things like:  mailfirst &#8211; When using the mail command, mail the just-rotated file, instead of the about-to-expire file.</p><p>&#8212;&#8211;</p><p>Could someone please clarify the definition of the verb &#8220;rotate&#8221; in the context of logrotate.</p><p>what is it doing:</p><p>is a &#8216;rotation&#8217; &#8211; the naming of file with a new number?</p><p>is a &#8216;rotation&#8217; &#8211; the copying over,  then emptying original?</p><p>is a &#8216;rotation&#8217; &#8211; the &#8216;copying over&#8217; of a previously number copy?</p><p>the man pagfes seem to assume that we know what &#8216;a rotation&#8217; is?</p> ]]></content:encoded> </item> <item><title>By: Sending WatchGuard logs to Syslog &#187; Solo Technology</title><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/comment-page-1/#comment-179771</link> <dc:creator>Sending WatchGuard logs to Syslog &#187; Solo Technology</dc:creator> <pubDate>Wed, 04 Mar 2009 04:18:57 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/#comment-179771</guid> <description>[...] not sure if I have this last piece correct or not, but based on what I read in this “Rotating Linux Log Files – Part 2” article I think I’ve got it right. The concern is that we don’t want the new watchguard.log [...]</description> <content:encoded><![CDATA[<p>[...] not sure if I have this last piece correct or not, but based on what I read in this “Rotating Linux Log Files – Part 2” article I think I’ve got it right. The concern is that we don’t want the new watchguard.log [...]</p> ]]></content:encoded> </item> <item><title>By: - Marius -</title><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/comment-page-1/#comment-175554</link> <dc:creator>- Marius -</dc:creator> <pubDate>Tue, 10 Jun 2008 19:58:51 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/#comment-175554</guid> <description>Dec: thank you for your comment. This post was not about apache, and apache was given just as an example, but I agree &lt;strong&gt;cronolog &lt;/strong&gt;is great tool and can be useful in some situations. Btw. apache has built-in a similar (though lacking some of the cronolog features) called &lt;strong&gt;rotatelogs&lt;/strong&gt;. -M</description> <content:encoded><![CDATA[<p>Dec: thank you for your comment. This post was not about apache, and apache was given just as an example, but I agree <strong>cronolog </strong>is great tool and can be useful in some situations. Btw. apache has built-in a similar (though lacking some of the cronolog features) called <strong>rotatelogs</strong>. -M</p> ]]></content:encoded> </item> <item><title>By: Dec</title><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/comment-page-1/#comment-149034</link> <dc:creator>Dec</dc:creator> <pubDate>Thu, 24 Apr 2008 18:59:21 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/#comment-149034</guid> <description>Apache works very well with the cronolog utility, as long as you are logging all vhosts to a single access logfile. It is called from the Apache config, and it looks after closing the old file and opening the new, based on the date and time format as specified in the Apache config file.
It does not do compression or moving files away from /var/log, but a custom script (called from cron) can do that.
It may or may not work with syslog, but a lot of customisation would be required to disable the existing rotation.</description> <content:encoded><![CDATA[<p>Apache works very well with the cronolog utility, as long as you are logging all vhosts to a single access logfile. It is called from the Apache config, and it looks after closing the old file and opening the new, based on the date and time format as specified in the Apache config file.<br
/> It does not do compression or moving files away from /var/log, but a custom script (called from cron) can do that.<br
/> It may or may not work with syslog, but a lot of customisation would be required to disable the existing rotation.</p> ]]></content:encoded> </item> <item><title>By: David Pascoe</title><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/comment-page-1/#comment-121609</link> <dc:creator>David Pascoe</dc:creator> <pubDate>Fri, 04 Jan 2008 02:26:14 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/#comment-121609</guid> <description>To automatically write to the new log file and not the just renamed one you need to do a `kill -HUP&#039; in the postrotate section. Of course you need to catch this signal in your application as well. Just catch it, fclose and fopen your log file again, and the new writes will go to the new file descriptor which will go to the just created file. Be sure to open in &quot;a&quot; mode too.</description> <content:encoded><![CDATA[<p>To automatically write to the new log file and not the just renamed one you need to do a `kill -HUP&#8217; in the postrotate section. Of course you need to catch this signal in your application as well. Just catch it, fclose and fopen your log file again, and the new writes will go to the new file descriptor which will go to the just created file. Be sure to open in &#8220;a&#8221; mode too.</p> ]]></content:encoded> </item> <item><title>By: Jace</title><link>http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/comment-page-1/#comment-77427</link> <dc:creator>Jace</dc:creator> <pubDate>Tue, 11 Sep 2007 18:50:12 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/#comment-77427</guid> <description>Like the happy fellow above, I too was seeking the mystery of auth.log rotation on Ubuntu. Thanks!</description> <content:encoded><![CDATA[<p>Like the happy fellow above, I too was seeking the mystery of auth.log rotation on Ubuntu. Thanks!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: www.ducea.com @ 2012-02-08 19:06:08 by W3 Total Cache -->
