<?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: Additivity &#8211; what and why?</title>
	<atom:link href="http://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/feed/" rel="self" type="application/rss+xml" />
	<link>http://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/</link>
	<description>Java / Web developer</description>
	<lastBuildDate>Wed, 08 Feb 2012 10:28:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Matthew Mahon</title>
		<link>http://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/comment-page-1/#comment-50015</link>
		<dc:creator>Matthew Mahon</dc:creator>
		<pubDate>Tue, 29 Nov 2011 19:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=701#comment-50015</guid>
		<description>Hello, I cannot disable logging to my console.  Here is my log4j.properties:

#set up the root logger ( all logging will use this unless specifically overriden elsewhere in this file
log4j.rootLogger=info, R

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller&#039;s file name and line number.
#this outputs the log level - date/time - class specification and message to the console
log4j.appender.stdout.layout.ConversionPattern=[%p] - %d - %c{2} - %m%n

#Use the rollingFileAppender - this keeps a number of backup logs and 
#deletes the oldest one when the number of backups is reached

log4j.appender.R=org.apache.log4j.RollingFileAppender

#The name of the log file is WebReporting.log it defaults to the WebReporting directory 
log4j.appender.R.File=C:/Sandbox.miro/GOLD_12_2_RELEASE/4.2.0cp09/jboss-as/server/default/log/WebReports.log

#this sets the max file size for the log before it gets rolled over
log4j.appender.R.MaxFileSize=32000KB
# Keep one backup file
log4j.appender.R.MaxBackupIndex=1

#these calls set the pattern for the log file - it adds the thread that called the logger
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=[%p] - %d - %t %c{2} - %m%n

Still in my console I see the following (which does not appear to be coming from my properties file):

22516 [main] ERROR com.asg.safari.webreports.ControlServlet  - Mail send error
22518 [main] INFO com.asg.safari.webreports.ControlServlet  - Successfully loade
d application settings.  Storing in global context...
22518 [main] INFO com.asg.safari.webreports.ControlServlet  - ASG-Safari Web Rep
orts 8.4.5.0
22567 [main] INFO com.asg.safari.webreports.ControlServlet  - Initializing Globa
l Dictionary...
22568 [main] INFO com.asg.safari.webreports.ControlServlet  - Activating GlobalD
ictionary.
22568 [main] INFO com.asg.safari.webreports.ControlServlet  - Initializing Globa
l Dictionary...DONE.
22568 [main] INFO com.asg.safari.webreports.ControlServlet  - Initializing Audit
 Trail Manager...
22576 [main] INFO com.asg.safari.webreports.ControlServlet  - Initializing Audit
 Trail Manager...DONE
Shutdown complete

Any help you could provide would be appreciated!</description>
		<content:encoded><![CDATA[<p>Hello, I cannot disable logging to my console.  Here is my log4j.properties:</p>
<p>#set up the root logger ( all logging will use this unless specifically overriden elsewhere in this file<br />
log4j.rootLogger=info, R</p>
<p>log4j.appender.stdout=org.apache.log4j.ConsoleAppender<br />
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout</p>
<p># Pattern to output the caller&#8217;s file name and line number.<br />
#this outputs the log level &#8211; date/time &#8211; class specification and message to the console<br />
log4j.appender.stdout.layout.ConversionPattern=[%p] &#8211; %d &#8211; %c{2} &#8211; %m%n</p>
<p>#Use the rollingFileAppender &#8211; this keeps a number of backup logs and<br />
#deletes the oldest one when the number of backups is reached</p>
<p>log4j.appender.R=org.apache.log4j.RollingFileAppender</p>
<p>#The name of the log file is WebReporting.log it defaults to the WebReporting directory<br />
log4j.appender.R.File=C:/Sandbox.miro/GOLD_12_2_RELEASE/4.2.0cp09/jboss-as/server/default/log/WebReports.log</p>
<p>#this sets the max file size for the log before it gets rolled over<br />
log4j.appender.R.MaxFileSize=32000KB<br />
# Keep one backup file<br />
log4j.appender.R.MaxBackupIndex=1</p>
<p>#these calls set the pattern for the log file &#8211; it adds the thread that called the logger<br />
log4j.appender.R.layout=org.apache.log4j.PatternLayout<br />
log4j.appender.R.layout.ConversionPattern=[%p] &#8211; %d &#8211; %t %c{2} &#8211; %m%n</p>
<p>Still in my console I see the following (which does not appear to be coming from my properties file):</p>
<p>22516 [main] ERROR com.asg.safari.webreports.ControlServlet  &#8211; Mail send error<br />
22518 [main] INFO com.asg.safari.webreports.ControlServlet  &#8211; Successfully loade<br />
d application settings.  Storing in global context&#8230;<br />
22518 [main] INFO com.asg.safari.webreports.ControlServlet  &#8211; ASG-Safari Web Rep<br />
orts 8.4.5.0<br />
22567 [main] INFO com.asg.safari.webreports.ControlServlet  &#8211; Initializing Globa<br />
l Dictionary&#8230;<br />
22568 [main] INFO com.asg.safari.webreports.ControlServlet  &#8211; Activating GlobalD<br />
ictionary.<br />
22568 [main] INFO com.asg.safari.webreports.ControlServlet  &#8211; Initializing Globa<br />
l Dictionary&#8230;DONE.<br />
22568 [main] INFO com.asg.safari.webreports.ControlServlet  &#8211; Initializing Audit<br />
 Trail Manager&#8230;<br />
22576 [main] INFO com.asg.safari.webreports.ControlServlet  &#8211; Initializing Audit<br />
 Trail Manager&#8230;DONE<br />
Shutdown complete</p>
<p>Any help you could provide would be appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: audit.log to syslog - Zimbra :: Forums</title>
		<link>http://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/comment-page-1/#comment-38405</link>
		<dc:creator>audit.log to syslog - Zimbra :: Forums</dc:creator>
		<pubDate>Sat, 27 Aug 2011 02:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=701#comment-38405</guid>
		<description>[...] that doesn&#039;t quite make sense based on reading:  Apache log4j 1.2 - Short introduction to log4j Log4j Tutorial: Additivity &#8211; what and why? &#124; Veera Sundar Log4jXmlFormat - Logging-log4j Wiki  Nope, commenting that out also doesn&#039;t do any good.  [...]</description>
		<content:encoded><![CDATA[<p>[...] that doesn&#039;t quite make sense based on reading:  Apache log4j 1.2 &#8211; Short introduction to log4j Log4j Tutorial: Additivity &#8211; what and why? | Veera Sundar Log4jXmlFormat &#8211; Logging-log4j Wiki  Nope, commenting that out also doesn&#039;t do any good.  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/comment-page-1/#comment-28780</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Wed, 25 May 2011 12:29:44 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=701#comment-28780</guid>
		<description>These are some really great entries. keep the good work going</description>
		<content:encoded><![CDATA[<p>These are some really great entries. keep the good work going</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Weaver</title>
		<link>http://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/comment-page-1/#comment-27674</link>
		<dc:creator>Nick Weaver</dc:creator>
		<pubDate>Thu, 12 May 2011 14:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=701#comment-27674</guid>
		<description>Hi there,
thank you very much for this article!
Best regards
Nick</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
thank you very much for this article!<br />
Best regards<br />
Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harpreet</title>
		<link>http://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/comment-page-1/#comment-27161</link>
		<dc:creator>Harpreet</dc:creator>
		<pubDate>Fri, 06 May 2011 18:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=701#comment-27161</guid>
		<description>This is very helpful, and saves lot of time for newbees. Thank you for the effort</description>
		<content:encoded><![CDATA[<p>This is very helpful, and saves lot of time for newbees. Thank you for the effort</p>
]]></content:encoded>
	</item>
</channel>
</rss>

