<?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"
	>
<channel>
	<title>Comments on: Ganymede Revisited - Log4J In&#160;Eclipse</title>
	<atom:link href="http://www.magpiebrain.com/blog/2003/09/19/ganymede-revisited-log4j-in-eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.magpiebrain.com/blog/2003/09/19/ganymede-revisited-log4j-in-eclipse/</link>
	<description>Sam Newman's blog</description>
	<pubDate>Fri, 25 Jul 2008 11:15:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2003/09/19/ganymede-revisited-log4j-in-eclipse/#comment-58</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Fri, 26 Sep 2003 10:36:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2003/09/19/ganymede-revisited-log4j-in-eclipse/#comment-58</guid>
		<description>And the equivilent XML (works equally well for chainsaw or LogFactor5):


      
      
      

</description>
		<content:encoded><![CDATA[<p>And the equivilent <acronym title="eXtensible Markup Language">XML</acronym> (works equally well for chainsaw or LogFactor5):</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: reid holmes</title>
		<link>http://www.magpiebrain.com/blog/2003/09/19/ganymede-revisited-log4j-in-eclipse/#comment-57</link>
		<dc:creator>reid holmes</dc:creator>
		<pubDate>Wed, 24 Sep 2003 02:06:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2003/09/19/ganymede-revisited-log4j-in-eclipse/#comment-57</guid>
		<description>For anyone who's wondering, the easiest way to use log4j with eclipse after the steps mentioned in the article is to:
		
BasicConfigurator.configure(new   SocketAppender("localhost",4445));
Logger logger = Logger.getLogger(MyClass.class);
logger.info("message");

However, I do not know how to make the line numbers / method names show up in the Ganymede view.  It is easy to get them to show on the Console or in a file however using something like: 
PatternLayout("%5p [%t] (%F:%L) - %m%n")

If anyone knows what layout pattern Ganymede requires to populate the line # field, please let me know!

thanks,

--reid</description>
		<content:encoded><![CDATA[<p>For anyone who&#8217;s wondering, the easiest way to use log4j with eclipse after the steps mentioned in the article is to:</p>
<p>BasicConfigurator.configure(new   SocketAppender(&#8220;localhost&#8221;,4445));<br />
Logger logger = Logger.getLogger(MyClass.class);<br />
logger.info(&#8220;message&#8221;);</p>
<p>However, I do not know how to make the line numbers / method names show up in the Ganymede view.  It is easy to get them to show on the Console or in a file however using something like: <br />
PatternLayout(&#8221;%5p [%t] (%F:%L) &#8211; %m%n&#8221;)</p>
<p>If anyone knows what layout pattern Ganymede requires to populate the line # field, please let me know!</p>
<p>thanks,<br />
&#8212;reid</p>
]]></content:encoded>
	</item>
</channel>
</rss>
