<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Logging on Andrew Walsh</title><link>http://awalsh128.com/tags/logging/</link><description>Recent content in Logging on Andrew Walsh</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 Andrew Walsh</copyright><lastBuildDate>Mon, 20 Apr 2015 22:36:30 -0700</lastBuildDate><atom:link href="http://awalsh128.com/tags/logging/feed.xml" rel="self" type="application/rss+xml"/><item><title>Log per class pattern.</title><link>http://awalsh128.com/log-per-class-pattern/</link><pubDate>Sun, 29 Mar 2015 00:00:00 -0700</pubDate><guid>http://awalsh128.com/log-per-class-pattern/</guid><description>&lt;h3 class="relative group"&gt;Rookie Moves&#10; &lt;div id="rookie-moves" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#rookie-moves" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;p&gt;Awhile ago, I had originally created a single logger for each service&#10;and shared it statically across the application.&lt;/p&gt;</description></item><item><title>Creating XML based templates in log4net.</title><link>http://awalsh128.com/creating-xml-based-templates-in-log4net/</link><pubDate>Sat, 28 Mar 2015 00:00:00 -0700</pubDate><guid>http://awalsh128.com/creating-xml-based-templates-in-log4net/</guid><description>&lt;h3 class="relative group"&gt;Motivation&#10; &lt;div id="motivation" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#motivation" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;p&gt;I decided to use &lt;a href="https://logging.apache.org/log4net/" target="_blank" rel="noreferrer"&gt;log4net&lt;/a&gt; for a&#10;recent project I had been working on. There is a concept of&#10;&lt;a href="https://logging.apache.org/log4net/release/manual/configuration.html#loggers" target="_blank" rel="noreferrer"&gt;loggers&lt;/a&gt;&#10;and&#10;&lt;a href="https://logging.apache.org/log4net/release/manual/configuration.html#appenders" target="_blank" rel="noreferrer"&gt;appenders&lt;/a&gt;.&#10;Loggers are composed of appenders and a log threshold. Appenders are&#10;consumers of logging information and provide specific implementations&#10;(eg. file, email, event log, database). You can configure the loggers&#10;and appenders either in the &lt;a href="https://logging.apache.org/log4net/release/manual/configuration.html" target="_blank" rel="noreferrer"&gt;application&#10;configuration&lt;/a&gt;&#10;or &lt;a href="http://www.roelvanlisdonk.nl/?p=723" target="_blank" rel="noreferrer"&gt;at runtime&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>