<?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>non-random ramble &#187; logging</title>
	<atom:link href="http://jimbarritt.com/non-random/category/devops/logging/feed/" rel="self" type="application/rss+xml" />
	<link>http://jimbarritt.com/non-random</link>
	<description>adventures in code</description>
	<lastBuildDate>Tue, 20 Sep 2011 13:16:52 +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>Having trouble finding out why Log4J is not configured?</title>
		<link>http://jimbarritt.com/non-random/2009/04/20/having-trouble-finding-out-why-log4j-is-not-configured/</link>
		<comments>http://jimbarritt.com/non-random/2009/04/20/having-trouble-finding-out-why-log4j-is-not-configured/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 15:46:12 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[thoughtblog]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/2009/04/20/having-trouble-finding-out-why-log4j-is-not-configured/</guid>
		<description><![CDATA[This VM option is quite useful: -Dlog4j.debug]]></description>
			<content:encoded><![CDATA[<p>This VM option is quite useful:</p>
<pre name="code" class="html:nogutter:nocontrols">
-Dlog4j.debug
</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2009%2F04%2F20%2Fhaving-trouble-finding-out-why-log4j-is-not-configured%2F&amp;title=Having%20trouble%20finding%20out%20why%20Log4J%20is%20not%20configured%3F" id="wpa2a_2"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2009/04/20/having-trouble-finding-out-why-log4j-is-not-configured/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Util Logging</title>
		<link>http://jimbarritt.com/non-random/2006/01/18/9/</link>
		<comments>http://jimbarritt.com/non-random/2006/01/18/9/#comments</comments>
		<pubDate>Wed, 18 Jan 2006 01:07:10 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[jdk]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.planet-ix.com/non-random/2006/01/18/9/</guid>
		<description><![CDATA[ok so now i need to know about java logging with the util package&#8230; pretty simple &#8230;. private static Logger log = Logger.getLogger(XSDStoreServletParameters.class.getName()); then log.finest(&#8220;hello&#8221;); and if (log.isLoggable(Level.CONFIG)) { } etc. problem is that it doesnt do anything in the websphere process server&#8230; hey ho. it uses the old commons-logging (apparently called &#8220;JCL&#8221; these days!) [...]]]></description>
			<content:encoded><![CDATA[<p>ok so now i need to know about java logging with the util package&#8230;</p>
<p>pretty simple &#8230;.</p>
<p>private static Logger log = Logger.getLogger(XSDStoreServletParameters.class.getName());</p>
<p>then log.finest(&#8220;hello&#8221;);</p>
<p>and</p>
<p>if (log.isLoggable(Level.CONFIG))  {</p>
<p>}</p>
<p>etc.</p>
<p>problem is that it doesnt do anything in the websphere process server&#8230;</p>
<p>hey ho.</p>
<p>it uses the old commons-logging (apparently called &#8220;JCL&#8221; these days!)</p>
<p>grrrrrr!</p>
<p>so you do :</p>
<p>private static Log log = LogFactory.getLog(JDBCToXML.class);</p>
<p>then its just like Log4J</p>
<p>the trick is to get Websfear to print it out &#8211; it doesnt want to put low level logging to the console.</p>
<p>you can get it to go to a file though and tail that i guess.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fjimbarritt.com%2Fnon-random%2F2006%2F01%2F18%2F9%2F&amp;title=Util%20Logging" id="wpa2a_4"><img src="http://jimbarritt.com/non-random/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2006/01/18/9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

