<?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</title>
	<atom:link href="http://www.brucalipto.org/java/log4j-tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.brucalipto.org/java/log4j-tutorial</link>
	<description>Tenete la porta aperta...</description>
	<lastBuildDate>Tue, 31 Jan 2012 08:30:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jan Pride</title>
		<link>http://www.brucalipto.org/java/log4j-tutorial/comment-page-1#comment-9482</link>
		<dc:creator>Jan Pride</dc:creator>
		<pubDate>Wed, 29 Dec 2010 15:44:14 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/java/log4j-tutorial#comment-9482</guid>
		<description>Definitely, what a splendid blog and illuminating posts, I definitely will bookmark your site.All the Best!</description>
		<content:encoded><![CDATA[<p>Definitely, what a splendid blog and illuminating posts, I definitely will bookmark your site.All the Best!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: apiero</title>
		<link>http://www.brucalipto.org/java/log4j-tutorial/comment-page-1#comment-5446</link>
		<dc:creator>apiero</dc:creator>
		<pubDate>Tue, 12 Oct 2010 14:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/java/log4j-tutorial#comment-5446</guid>
		<description>Hi,

   can you paste your log4j conf file?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>   can you paste your log4j conf file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankit jain</title>
		<link>http://www.brucalipto.org/java/log4j-tutorial/comment-page-1#comment-5443</link>
		<dc:creator>Ankit jain</dc:creator>
		<pubDate>Tue, 12 Oct 2010 09:27:43 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/java/log4j-tutorial#comment-5443</guid>
		<description>I am using log4j api for a clustered environment.

But facing following issue:

log4j:ERROR Could not instantiate appender named &quot;stdout&quot;.
[10/12/10 12:47:20:075 IST] 00000036 SystemErr     R log4j:WARN No appenders could be found for logger (fscServices).
[10/12/10 12:47:20:075 IST] 00000036 SystemErr     R log4j:WARN Please initialize the log4j system properly.

Please help, what may be the reason?

Ankit</description>
		<content:encoded><![CDATA[<p>I am using log4j api for a clustered environment.</p>
<p>But facing following issue:</p>
<p>log4j:ERROR Could not instantiate appender named &#8220;stdout&#8221;.<br />
[10/12/10 12:47:20:075 IST] 00000036 SystemErr     R log4j:WARN No appenders could be found for logger (fscServices).<br />
[10/12/10 12:47:20:075 IST] 00000036 SystemErr     R log4j:WARN Please initialize the log4j system properly.</p>
<p>Please help, what may be the reason?</p>
<p>Ankit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Memory card</title>
		<link>http://www.brucalipto.org/java/log4j-tutorial/comment-page-1#comment-3201</link>
		<dc:creator>Memory card</dc:creator>
		<pubDate>Wed, 26 May 2010 16:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/java/log4j-tutorial#comment-3201</guid>
		<description>YES! I finally came across this web site! I&#039;ve been seeking for this post for such a long time!!</description>
		<content:encoded><![CDATA[<p>YES! I finally came across this web site! I&#8217;ve been seeking for this post for such a long time!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: apiero</title>
		<link>http://www.brucalipto.org/java/log4j-tutorial/comment-page-1#comment-2325</link>
		<dc:creator>apiero</dc:creator>
		<pubDate>Thu, 11 Feb 2010 14:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/java/log4j-tutorial#comment-2325</guid>
		<description>Hi,

    can you post your log4j configuration?

Bye
Apiero</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>    can you post your log4j configuration?</p>
<p>Bye<br />
Apiero</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vidya</title>
		<link>http://www.brucalipto.org/java/log4j-tutorial/comment-page-1#comment-2324</link>
		<dc:creator>vidya</dc:creator>
		<pubDate>Thu, 11 Feb 2010 10:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/java/log4j-tutorial#comment-2324</guid>
		<description>log4j:ERROR Could not instantiate class [D:/NetBeansProjects/Test/Resources/care.log].
java.lang.ClassNotFoundException: D:/NetBeansProjects/Test/Resources/care.log
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at org.apache.log4j.helpers.Loader.loadClass(Loader.java:179)
        at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:320)
        at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:121)
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:664)
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:334)
        at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:342)
        at MainFrame.main(MainFrame.java:101)
log4j:ERROR Could not instantiate appender named &quot;R&quot;.
log4j:WARN No appenders could be found for logger (MainFrame).
log4j:WARN Please initialize the log4j system properly.

how i can solve this problem.</description>
		<content:encoded><![CDATA[<p>log4j:ERROR Could not instantiate class [D:/NetBeansProjects/Test/Resources/care.log].<br />
java.lang.ClassNotFoundException: D:/NetBeansProjects/Test/Resources/care.log<br />
        at java.lang.Class.forName0(Native Method)<br />
        at java.lang.Class.forName(Class.java:169)<br />
        at org.apache.log4j.helpers.Loader.loadClass(Loader.java:179)<br />
        at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:320)<br />
        at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:121)<br />
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:664)<br />
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)<br />
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)<br />
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)<br />
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:334)<br />
        at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:342)<br />
        at MainFrame.main(MainFrame.java:101)<br />
log4j:ERROR Could not instantiate appender named &#8220;R&#8221;.<br />
log4j:WARN No appenders could be found for logger (MainFrame).<br />
log4j:WARN Please initialize the log4j system properly.</p>
<p>how i can solve this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanzeem akhtar</title>
		<link>http://www.brucalipto.org/java/log4j-tutorial/comment-page-1#comment-498</link>
		<dc:creator>tanzeem akhtar</dc:creator>
		<pubDate>Wed, 04 Feb 2009 07:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/java/log4j-tutorial#comment-498</guid>
		<description>Hi apiero,
Thanks foryour reply.
Yes you understand my problem.
But for solution i must have a separate file that has only info level messages. I did the same as you are saying, but my focus is on getting only info level messages. Can you help me now?</description>
		<content:encoded><![CDATA[<p>Hi apiero,<br />
Thanks foryour reply.<br />
Yes you understand my problem.<br />
But for solution i must have a separate file that has only info level messages. I did the same as you are saying, but my focus is on getting only info level messages. Can you help me now?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: apiero</title>
		<link>http://www.brucalipto.org/java/log4j-tutorial/comment-page-1#comment-485</link>
		<dc:creator>apiero</dc:creator>
		<pubDate>Tue, 03 Feb 2009 12:54:01 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/java/log4j-tutorial#comment-485</guid>
		<description>Hi,

    you cannot have ONLY info messages but you can get messages higher of a certain level: if you set the threshold to INFO you will get also WARN, ERROR and FATAL messages.
Did I understand you question correctly?

Bye
apiero</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>    you cannot have ONLY info messages but you can get messages higher of a certain level: if you set the threshold to INFO you will get also WARN, ERROR and FATAL messages.<br />
Did I understand you question correctly?</p>
<p>Bye<br />
apiero</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanzeem akhtar</title>
		<link>http://www.brucalipto.org/java/log4j-tutorial/comment-page-1#comment-484</link>
		<dc:creator>tanzeem akhtar</dc:creator>
		<pubDate>Tue, 03 Feb 2009 11:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/java/log4j-tutorial#comment-484</guid>
		<description>How to make a separate file for log that is having only info messages?
Please help me out.</description>
		<content:encoded><![CDATA[<p>How to make a separate file for log that is having only info messages?<br />
Please help me out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: apiero</title>
		<link>http://www.brucalipto.org/java/log4j-tutorial/comment-page-1#comment-282</link>
		<dc:creator>apiero</dc:creator>
		<pubDate>Fri, 24 Oct 2008 12:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/java/log4j-tutorial#comment-282</guid>
		<description>Hi Rocky,

    if you need the logger to log in 2 different places you need to attach 2 different appenders to it. Please read the configuration I reported above that looks like:

#Here we attach 2 appenders to rootLogger
log4j.rootLogger=DEBUG, console, file
# The appender called ‘console’ is of type ConsoleAppender
# This appender shows you all info for better debugging
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.Threshold=DEBUG
# The appender called ‘file’ is of type FileAppender
# This appender shows you only messages ABOVE the INFO level
# It writes in file ‘test.log’
log4j.appender.file=org.apache.log4j.FileAppender
log4j.appender.file.Threshold=INFO
log4j.appender.file.File=test.log

Is it any clearer?
Hope it helps you out.

Bye
apiero</description>
		<content:encoded><![CDATA[<p>Hi Rocky,</p>
<p>    if you need the logger to log in 2 different places you need to attach 2 different appenders to it. Please read the configuration I reported above that looks like:</p>
<p>#Here we attach 2 appenders to rootLogger<br />
log4j.rootLogger=DEBUG, console, file<br />
# The appender called ‘console’ is of type ConsoleAppender<br />
# This appender shows you all info for better debugging<br />
log4j.appender.console=org.apache.log4j.ConsoleAppender<br />
log4j.appender.console.Threshold=DEBUG<br />
# The appender called ‘file’ is of type FileAppender<br />
# This appender shows you only messages ABOVE the INFO level<br />
# It writes in file ‘test.log’<br />
log4j.appender.file=org.apache.log4j.FileAppender<br />
log4j.appender.file.Threshold=INFO<br />
log4j.appender.file.File=test.log</p>
<p>Is it any clearer?<br />
Hope it helps you out.</p>
<p>Bye<br />
apiero</p>
]]></content:encoded>
	</item>
</channel>
</rss>

