<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: How to Use SLF4J with log4j</title>
	<atom:link href="http://fernandoribeiro.eti.br/2006/05/24/how-to-use-slf4j-with-log4j/feed/" rel="self" type="application/rss+xml" />
	<link>http://fernandoribeiro.eti.br/2006/05/24/how-to-use-slf4j-with-log4j/</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 03:43:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Alno</title>
		<link>http://fernandoribeiro.eti.br/2006/05/24/how-to-use-slf4j-with-log4j/#comment-2174</link>
		<dc:creator><![CDATA[Alno]]></dc:creator>
		<pubDate>Mon, 26 May 2008 16:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://simplesassim.wordpress.com/2006/05/24/how-to-use-slf4j-with-log4j/#comment-2174</guid>
		<description><![CDATA[2James: 
If you want to use log4j as implementation for slf4j, you may configure log4j as you want, all slf4j logs will use this configuration.

If you want log all to slf4j and don&#039;t want edit your existing code, you may use log4j-over-slf4j module, as described at http://www.slf4j.org/log4j-over-slf4j.html]]></description>
		<content:encoded><![CDATA[<p>2James:<br />
If you want to use log4j as implementation for slf4j, you may configure log4j as you want, all slf4j logs will use this configuration.</p>
<p>If you want log all to slf4j and don&#8217;t want edit your existing code, you may use log4j-over-slf4j module, as described at <a href="http://www.slf4j.org/log4j-over-slf4j.html" rel="nofollow">http://www.slf4j.org/log4j-over-slf4j.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://fernandoribeiro.eti.br/2006/05/24/how-to-use-slf4j-with-log4j/#comment-2103</link>
		<dc:creator><![CDATA[James]]></dc:creator>
		<pubDate>Wed, 14 May 2008 00:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://simplesassim.wordpress.com/2006/05/24/how-to-use-slf4j-with-log4j/#comment-2103</guid>
		<description><![CDATA[How do you make this work if you have existing code that has references to org.apache.log4j.Logger?  I really don&#039;t want to change all of my classes so that they import org.slf4j.Logger and org.slf4j.LoggerFactory.  

How do I configure log4j if this overrides it?  I want the applications logging statements to be written to a file called myapp.log.  As for the Jetty container&#039;s logging, it can go to /dev/null for all I care, I just want to have my application-specific logging back.

How do I get both implementations to exist side by side?  I&#039;m using Jetty 6 which is dependent on slf4j, but my application that I&#039;m serving in Jetty 6 uses pure log4j, at least it did before I had to deploy slf4 jar files to my jetty/lib directory.

Any help you can provide will be greatly appreciated.

Thanks for the help,
James]]></description>
		<content:encoded><![CDATA[<p>How do you make this work if you have existing code that has references to org.apache.log4j.Logger?  I really don&#8217;t want to change all of my classes so that they import org.slf4j.Logger and org.slf4j.LoggerFactory.  </p>
<p>How do I configure log4j if this overrides it?  I want the applications logging statements to be written to a file called myapp.log.  As for the Jetty container&#8217;s logging, it can go to /dev/null for all I care, I just want to have my application-specific logging back.</p>
<p>How do I get both implementations to exist side by side?  I&#8217;m using Jetty 6 which is dependent on slf4j, but my application that I&#8217;m serving in Jetty 6 uses pure log4j, at least it did before I had to deploy slf4 jar files to my jetty/lib directory.</p>
<p>Any help you can provide will be greatly appreciated.</p>
<p>Thanks for the help,<br />
James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimuthu</title>
		<link>http://fernandoribeiro.eti.br/2006/05/24/how-to-use-slf4j-with-log4j/#comment-1597</link>
		<dc:creator><![CDATA[Dimuthu]]></dc:creator>
		<pubDate>Mon, 28 Jan 2008 09:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://simplesassim.wordpress.com/2006/05/24/how-to-use-slf4j-with-log4j/#comment-1597</guid>
		<description><![CDATA[Hi,

I have a set of libraries that uses log4j with commons logging. I have one jar that uses slf4j logging. So when I add slf4j-api-1.4.3.jar and slf4j-simple-1.4.3.jar to my application it overrides settings in my log4j.properties file. This causes a whole lot of log messages to be printed into the console.

I am thankful for any help.

-Dimuthu]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a set of libraries that uses log4j with commons logging. I have one jar that uses slf4j logging. So when I add slf4j-api-1.4.3.jar and slf4j-simple-1.4.3.jar to my application it overrides settings in my log4j.properties file. This causes a whole lot of log messages to be printed into the console.</p>
<p>I am thankful for any help.</p>
<p>-Dimuthu</p>
]]></content:encoded>
	</item>
</channel>
</rss>

