<?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: Log4j Tutorial : How to send the log messages to a File</title>
	<atom:link href="http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/</link>
	<description></description>
	<lastBuildDate>Sun, 14 Mar 2010 07:43:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: hagbard</title>
		<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/comment-page-1/#comment-2506</link>
		<dc:creator>hagbard</dc:creator>
		<pubDate>Fri, 05 Feb 2010 21:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=681#comment-2506</guid>
		<description>thanks! nice written and easy to understand!</description>
		<content:encoded><![CDATA[<p>thanks! nice written and easy to understand!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veera</title>
		<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/comment-page-1/#comment-2398</link>
		<dc:creator>Veera</dc:creator>
		<pubDate>Tue, 05 Jan 2010 12:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=681#comment-2398</guid>
		<description>yes. my bad. &lt;br&gt;&lt;br&gt;thanks for noticing it.</description>
		<content:encoded><![CDATA[<p>yes. my bad. </p>
<p>thanks for noticing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: huu2uan</title>
		<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/comment-page-1/#comment-2397</link>
		<dc:creator>huu2uan</dc:creator>
		<pubDate>Tue, 05 Jan 2010 12:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=681#comment-2397</guid>
		<description>i think you lost &#039;layout&#039; in line  log4j.appender.rollingFile.ConversionPattern=%p %t %c - %m%n&lt;br&gt;&lt;br&gt;log4j.appender.rollingFile.layout.ConversionPattern=%p %t %c - %m%n</description>
		<content:encoded><![CDATA[<p>i think you lost &#39;layout&#39; in line  log4j.appender.rollingFile.ConversionPattern=%p %t %c &#8211; %m%n</p>
<p>log4j.appender.rollingFile.layout.ConversionPattern=%p %t %c &#8211; %m%n</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veera</title>
		<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/comment-page-1/#comment-2158</link>
		<dc:creator>Veera</dc:creator>
		<pubDate>Thu, 24 Sep 2009 14:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=681#comment-2158</guid>
		<description>@Chaitanya

Thank you for notifying the mistake. Corrected it.</description>
		<content:encoded><![CDATA[<p>@Chaitanya</p>
<p>Thank you for notifying the mistake. Corrected it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chaitanya</title>
		<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/comment-page-1/#comment-2157</link>
		<dc:creator>chaitanya</dc:creator>
		<pubDate>Thu, 24 Sep 2009 06:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=681#comment-2157</guid>
		<description>Veera, small correction in the above code.
 In the point 4,  for log4j.rootLogger , the second value should be simply rollingFile
not rollingFileAppender.

So final code is:

log4j.rootLogger = INFO, rollingFile

Regards
Chaitanya</description>
		<content:encoded><![CDATA[<p>Veera, small correction in the above code.<br />
 In the point 4,  for log4j.rootLogger , the second value should be simply rollingFile<br />
not rollingFileAppender.</p>
<p>So final code is:</p>
<p>log4j.rootLogger = INFO, rollingFile</p>
<p>Regards<br />
Chaitanya</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veera</title>
		<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/comment-page-1/#comment-2138</link>
		<dc:creator>Veera</dc:creator>
		<pubDate>Tue, 15 Sep 2009 11:33:41 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=681#comment-2138</guid>
		<description>@Ramya

Could you please eloborate more on the problem!?</description>
		<content:encoded><![CDATA[<p>@Ramya</p>
<p>Could you please eloborate more on the problem!?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramya</title>
		<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/comment-page-1/#comment-2137</link>
		<dc:creator>Ramya</dc:creator>
		<pubDate>Tue, 15 Sep 2009 05:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=681#comment-2137</guid>
		<description>using log4j the file is created but not writing logs into the file.</description>
		<content:encoded><![CDATA[<p>using log4j the file is created but not writing logs into the file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satya</title>
		<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/comment-page-1/#comment-2127</link>
		<dc:creator>Satya</dc:creator>
		<pubDate>Tue, 08 Sep 2009 10:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=681#comment-2127</guid>
		<description>here is below my code  






    
        
        
         
        
        

      &lt;!--   
                
             --&gt;
        
        
        
          
                
         
   
 

  


  
    
    
  



</description>
		<content:encoded><![CDATA[<p>here is below my code  </p>
<p>      &lt;!&#8211;   </p>
<p>             &#8211;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: satya</title>
		<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/comment-page-1/#comment-2126</link>
		<dc:creator>satya</dc:creator>
		<pubDate>Tue, 08 Sep 2009 10:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=681#comment-2126</guid>
		<description>Hi iam currently using log4j.xml to configure my Standalone Application, this is not a Web Application .My requirement is loggs should be rolledover on  DailyBases , but here i made it to be minute wise. And here is my code



 &gt; http://jakarta.apache.org/log4j/&quot;&gt;


    
        
        
         
        
        

        
        
        
          
                
         
   
 

  


  
    
    
  





in this Rolling the logg file is happening in correct way according to DatePattern which i set, lke it could be day or minute but here the problem is iam unable to see the old backup logger file. So Veera Sundar please help me as soon as possible.. ..

Thanks
Satyanaryana</description>
		<content:encoded><![CDATA[<p>Hi iam currently using log4j.xml to configure my Standalone Application, this is not a Web Application .My requirement is loggs should be rolledover on  DailyBases , but here i made it to be minute wise. And here is my code</p>
<p> &gt; <a href="http://jakarta.apache.org/log4j/" rel="nofollow">http://jakarta.apache.org/log4j/</a>&#8220;&gt;</p>
<p>in this Rolling the logg file is happening in correct way according to DatePattern which i set, lke it could be day or minute but here the problem is iam unable to see the old backup logger file. So Veera Sundar please help me as soon as possible.. ..</p>
<p>Thanks<br />
Satyanaryana</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prabhu</title>
		<link>http://veerasundar.com/blog/2009/07/log4j-tutorial-how-to-send-the-log-messages-to-a-file/comment-page-1/#comment-2117</link>
		<dc:creator>Prabhu</dc:creator>
		<pubDate>Mon, 31 Aug 2009 14:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=681#comment-2117</guid>
		<description>Hi Veera,

How to log the file to the context path folder;  To be clear, let say &#039;xxxx&#039; is my context path, which maps to &#039;myApp/web/&#039; and my log file has to be logged in to &#039;myApp/web/logs/Log.log&#039;....  hope you would have understand what i need....

Please let me know your thoughts...

Regards,
Prabhu.</description>
		<content:encoded><![CDATA[<p>Hi Veera,</p>
<p>How to log the file to the context path folder;  To be clear, let say &#8216;xxxx&#8217; is my context path, which maps to &#8216;myApp/web/&#8217; and my log file has to be logged in to &#8216;myApp/web/logs/Log.log&#8217;&#8230;.  hope you would have understand what i need&#8230;.</p>
<p>Please let me know your thoughts&#8230;</p>
<p>Regards,<br />
Prabhu.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
