<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ralph's TechBlog &#187; Log4j</title>
	<atom:link href="http://techblog.ralph-schuster.eu/tag/log4j/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.ralph-schuster.eu</link>
	<description>Technical stuff for IT experts</description>
	<lastBuildDate>Tue, 27 Dec 2011 09:38:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Log4j Configuration Problem</title>
		<link>http://techblog.ralph-schuster.eu/2009/12/08/log4j-configuration-problem/</link>
		<comments>http://techblog.ralph-schuster.eu/2009/12/08/log4j-configuration-problem/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 13:46:53 +0000</pubDate>
		<dc:creator>Ralph</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Log4j]]></category>
		<category><![CDATA[logging]]></category>

		<guid isPermaLink="false">http://techblog.ralph-schuster.eu/?p=159</guid>
		<description><![CDATA[It seems that some documentation that is hanging around the net contains incorrect information about correct configuration of the log4j system. Take care that you specify the properties filename as an URL rather than simple plain path location, e.g java -Dlog4j.configuration=file:///my/path/to/log4j.properties ... Log4j should find your configuration then. So make sure you include file:// there&#8230;]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftechblog.ralph-schuster.eu%2F2009%2F12%2F08%2Flog4j-configuration-problem%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftechblog.ralph-schuster.eu%2F2009%2F12%2F08%2Flog4j-configuration-problem%2F&amp;source=TechnicalG&amp;style=compact&amp;hashtags=Log4j,logging&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>It seems that some documentation that is hanging around the net contains incorrect information about correct configuration of the log4j system.</p>
<p>Take care that you specify the properties filename as an URL rather than simple plain path location, e.g</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">java -Dlog4j.configuration=<span style="color: #c20cb9; font-weight: bold;">file</span>:<span style="color: #000000; font-weight: bold;">///</span>my<span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>log4j.properties ...</pre></div></div>

<p>Log4j should find your configuration then. So make sure you include file:// there&#8230; <img src='http://techblog.ralph-schuster.eu/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.ralph-schuster.eu/2009/12/08/log4j-configuration-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

