<?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: How to rotate catalina.out without restarting tomcat</title>
	<atom:link href="http://www.mooreds.com/wordpress/archives/415/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mooreds.com/wordpress/archives/415</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 14:11:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Vineet Manohar</title>
		<link>http://www.mooreds.com/wordpress/archives/415/comment-page-1#comment-3035</link>
		<dc:creator>Vineet Manohar</dc:creator>
		<pubDate>Thu, 25 Mar 2010 21:41:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000415#comment-3035</guid>
		<description>Thanks for the feedback - I will highlight it in the main post.</description>
		<content:encoded><![CDATA[<p>Thanks for the feedback &#8211; I will highlight it in the main post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moore</title>
		<link>http://www.mooreds.com/wordpress/archives/415/comment-page-1#comment-3033</link>
		<dc:creator>moore</dc:creator>
		<pubDate>Thu, 25 Mar 2010 19:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000415#comment-3033</guid>
		<description>Hi Vineet, 

Useful post.  It&#039;s worth calling out a part of your comment to your post from the man page: &quot;Note that there is a very small time slice between copying the file and truncating it, so some logging data might be lost. &quot;

Sometimes (often) that is acceptable, sometimes it is not.</description>
		<content:encoded><![CDATA[<p>Hi Vineet, </p>
<p>Useful post.  It&#8217;s worth calling out a part of your comment to your post from the man page: &#8220;Note that there is a very small time slice between copying the file and truncating it, so some logging data might be lost. &#8221;</p>
<p>Sometimes (often) that is acceptable, sometimes it is not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vineet Manohar</title>
		<link>http://www.mooreds.com/wordpress/archives/415/comment-page-1#comment-3032</link>
		<dc:creator>Vineet Manohar</dc:creator>
		<pubDate>Thu, 25 Mar 2010 17:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000415#comment-3032</guid>
		<description>You can also use logrotate on linux/unix machine to rotate catalina.out without restarting tomcat. 
http://www.vineetmanohar.com/2010/03/24/howto-rotate-tomcat-catalina-out/</description>
		<content:encoded><![CDATA[<p>You can also use logrotate on linux/unix machine to rotate catalina.out without restarting tomcat.<br />
<a href="http://www.vineetmanohar.com/2010/03/24/howto-rotate-tomcat-catalina-out/" rel="nofollow">http://www.vineetmanohar.com/2010/03/24/howto-rotate-tomcat-catalina-out/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moore</title>
		<link>http://www.mooreds.com/wordpress/archives/415/comment-page-1#comment-2131</link>
		<dc:creator>moore</dc:creator>
		<pubDate>Mon, 06 Aug 2007 14:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000415#comment-2131</guid>
		<description>Hi Jinto,

I think the answer is to manipulate DOM object, just like I describe manipulating a Properties object here: http://www.mooreds.com/wordpress/archives/000238

doConfigure(String) might be a useful method too: &lt;a href=&quot;http://logging.apache.org/log4j/docs/api/org/apache/log4j/xml/DOMConfigurator.html#doConfigure(java.lang.String,%20org.apache.log4j.spi.LoggerRepository)&quot;&gt;http://logging.apache.org/log4j/docs/api/org/apache/log4j/xml/DOMConfigurator.html#doConfigure(java.lang.String,%20org.apache.log4j.spi.LoggerRepository)&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hi Jinto,</p>
<p>I think the answer is to manipulate DOM object, just like I describe manipulating a Properties object here: <a href="http://www.mooreds.com/wordpress/archives/000238" rel="nofollow">http://www.mooreds.com/wordpress/archives/000238</a></p>
<p>doConfigure(String) might be a useful method too: <a href="http://logging.apache.org/log4j/docs/api/org/apache/log4j/xml/DOMConfigurator.html#doConfigure(java.lang.String,%20org.apache.log4j.spi.LoggerRepository)">http://logging.apache.org/log4j/docs/api/org/apache/log4j/xml/DOMConfigurator.html#doConfigure(java.lang.String,%20org.apache.log4j.spi.LoggerRepository)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jinto</title>
		<link>http://www.mooreds.com/wordpress/archives/415/comment-page-1#comment-2119</link>
		<dc:creator>jinto</dc:creator>
		<pubDate>Wed, 11 Jul 2007 12:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000415#comment-2119</guid>
		<description>hi,

I have a doubt in configuring in log4j....

i have seen your sample code of configuring using PropertyConfigurator..that works with log4j.properties...

i need to do the same with log4j.xml....

i have to make the filename dynamic using DOM Configurator...

do u have any ideas..
please send me a reply:jintothomasm@gmail.com

thanks
jinto</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>I have a doubt in configuring in log4j&#8230;.</p>
<p>i have seen your sample code of configuring using PropertyConfigurator..that works with log4j.properties&#8230;</p>
<p>i need to do the same with log4j.xml&#8230;.</p>
<p>i have to make the filename dynamic using DOM Configurator&#8230;</p>
<p>do u have any ideas..<br />
please send me a reply:jintothomasm@gmail.com</p>
<p>thanks<br />
jinto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moore</title>
		<link>http://www.mooreds.com/wordpress/archives/415/comment-page-1#comment-2092</link>
		<dc:creator>moore</dc:creator>
		<pubDate>Wed, 09 May 2007 13:56:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mooreds.com/wordpress/archives/000415#comment-2092</guid>
		<description>Oh yeah, if you&#039;re a really anal sysadmin (and I wouldn&#039;t want to work with any other kind), you&#039;ll note that catalina.out is still growing--every time you restart tomcat, a new set of shutdown/startup messages is added.  

To deal with this, I&#039;d just modify the shell script that starts tomcat to rotate catalina.out during that short period of time where tomcat is not running.  

However, in theory there&#039;s no useful information in generic startup messages, so I might just delete the old catalina.out on restart, rather than rotate it.</description>
		<content:encoded><![CDATA[<p>Oh yeah, if you&#8217;re a really anal sysadmin (and I wouldn&#8217;t want to work with any other kind), you&#8217;ll note that catalina.out is still growing&#8211;every time you restart tomcat, a new set of shutdown/startup messages is added.  </p>
<p>To deal with this, I&#8217;d just modify the shell script that starts tomcat to rotate catalina.out during that short period of time where tomcat is not running.  </p>
<p>However, in theory there&#8217;s no useful information in generic startup messages, so I might just delete the old catalina.out on restart, rather than rotate it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  www.mooreds.com/wordpress/archives/415/feed ) in 0.22154 seconds, on Feb 8th, 2012 at 8:52 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 9:52 pm UTC -->
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for (  www.mooreds.com/wordpress/archives/415/feed ) in 0.09954 seconds, on Feb 8th, 2012 at 9:47 pm UTC. -->
