<?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: Logging Guidelines</title>
	<atom:link href="http://watchitlater.com/blog/2009/12/logging-guidelines/feed/" rel="self" type="application/rss+xml" />
	<link>http://watchitlater.com/blog/2009/12/logging-guidelines/</link>
	<description>A reluctant foray into the world of blogging.</description>
	<lastBuildDate>Thu, 17 May 2012 02:38:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Tom</title>
		<link>http://watchitlater.com/blog/2009/12/logging-guidelines/comment-page-1/#comment-5552</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Fri, 08 Jan 2010 10:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://watchitlater.com/blog/?p=115#comment-5552</guid>
		<description>Felix, absolutely spot on with categories, thanks for reminding me. On my current project we also have a bunch of instances of the same class, but we use the NDC to provide the name of the queue, etc for each message logged during the processing of a request by an instance.</description>
		<content:encoded><![CDATA[<p>Felix, absolutely spot on with categories, thanks for reminding me. On my current project we also have a bunch of instances of the same class, but we use the NDC to provide the name of the queue, etc for each message logged during the processing of a request by an instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: felix</title>
		<link>http://watchitlater.com/blog/2009/12/logging-guidelines/comment-page-1/#comment-5551</link>
		<dc:creator>felix</dc:creator>
		<pubDate>Fri, 08 Jan 2010 09:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://watchitlater.com/blog/?p=115#comment-5551</guid>
		<description>As per usual insightful article. Good job at capturing these things.

One more thing you are not mentioning is logging categories. The default is people using fully qualified class names, i.e. one static logger per class. I found that it is more to sometimes share loggers between different classes and inject them, e.g. for an audit trail. Also if you have more than one instance  of a class in your system add a bit that identifies the instance, e.g. in one system we had a class for polling queues being good developers we had four instances - one for each queue we were polling, and we made the logger an instance variable containing the queue name rather than the class name as the last fragment of the category.</description>
		<content:encoded><![CDATA[<p>As per usual insightful article. Good job at capturing these things.</p>
<p>One more thing you are not mentioning is logging categories. The default is people using fully qualified class names, i.e. one static logger per class. I found that it is more to sometimes share loggers between different classes and inject them, e.g. for an audit trail. Also if you have more than one instance  of a class in your system add a bit that identifies the instance, e.g. in one system we had a class for polling queues being good developers we had four instances &#8211; one for each queue we were polling, and we made the logger an instance variable containing the queue name rather than the class name as the last fragment of the category.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sonmez</title>
		<link>http://watchitlater.com/blog/2009/12/logging-guidelines/comment-page-1/#comment-5418</link>
		<dc:creator>John Sonmez</dc:creator>
		<pubDate>Mon, 21 Dec 2009 15:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://watchitlater.com/blog/?p=115#comment-5418</guid>
		<description>Very nice article.  Thank you.  It is always difficult to know when to use what logging level and what the message contains.  I think this is a very accurate guideline.</description>
		<content:encoded><![CDATA[<p>Very nice article.  Thank you.  It is always difficult to know when to use what logging level and what the message contains.  I think this is a very accurate guideline.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

