nicko 2005/02/17 06:36:46
Modified: doc/release release-notes.html
. ChangeLog.txt
xdocs/src/release release-notes.xml
Log:
Updated changelog and release notes
Revision Changes Path
1.3 +132 -70 logging-log4net/doc/release/release-notes.html
Index: release-notes.html
===================================================================
RCS file: /home/cvs/logging-log4net/doc/release/release-notes.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- release-notes.html 14 Feb 2005 03:48:59 -0000 1.2
+++ release-notes.html 17 Feb 2005 14:36:46 -0000 1.3
@@ -65,50 +65,50 @@
<!-- START main table -->
-
<h1><a id="HC-20843194"></a>log4net Release Notes</h1>
+
<h1><a id="HC-28441588"></a>log4net Release Notes</h1>
<div class="i1">
<h2>Contents</h2>
<div class="i1">
-
<a
href="#HC-7143488">1.2.9 Beta</a><br/>
+
<a
href="#HC-30633470">1.2.9 Beta</a><br/>
<div class="i1">
- <a href="#HC-6109469">Breaking
Changes</a><br/>
+ <a href="#HC-28336193">Breaking
Changes</a><br/>
<div class="i1">
</div>
- <a
href="#HC-21658130">New Features</a><br/>
+ <a
href="#HC-26750913">New Features</a><br/>
<div class="i1">
</div>
- <a
href="#HC-9716945">Other Changes</a><br/>
+ <a
href="#HC-6775863">Other Changes</a><br/>
<div class="i1">
</div>
</div>
-
<a href="#HC-3278348">1.2.0
Beta 8</a><br/>
+
<a
href="#HC-31753535">1.2.0 Beta 8</a><br/>
<div class="i1">
</div>
-
<a href="#HC-2830910">1.2.0
Beta 7</a><br/>
+
<a
href="#HC-28154095">1.2.0 Beta 7</a><br/>
<div class="i1">
</div>
-
<a
href="#HC-32486590">1.2.0 Beta 6</a><br/>
+
<a href="#HC-1281123">1.2.0
Beta 6</a><br/>
<div class="i1">
</div>
-
<a href="#HC-4414010">1.2.0
Beta 5</a><br/>
+
<a
href="#HC-23459640">1.2.0 Beta 5</a><br/>
<div class="i1">
</div>
-
<a
href="#HC-30983464">1.2.0 Beta 4</a><br/>
+
<a
href="#HC-21607056">1.2.0 Beta 4</a><br/>
<div class="i1">
</div>
-
<a href="#HC-7858936">1.2.0
Beta 3</a><br/>
+
<a
href="#HC-23738549">1.2.0 Beta 3</a><br/>
<div class="i1">
</div>
-
<a
href="#HC-14900151">1.2.0 Beta 2</a><br/>
+
<a
href="#HC-11601738">1.2.0 Beta 2</a><br/>
<div class="i1">
</div>
-
<a
href="#HC-10127976">1.2.0 Beta 1</a><br/>
+
<a href="#HC-5612344">1.2.0
Beta 1</a><br/>
<div class="i1">
</div>
</div>
- <h2><a
id="HC-7143488"></a>1.2.9 Beta</h2>
+ <h2><a
id="HC-30633470"></a>1.2.9 Beta</h2>
<div class="i1">
- <h3><a id="HC-6109469"></a>Breaking
Changes</h3>
+ <h3><a id="HC-28336193"></a>Breaking
Changes</h3>
<div class="i1">
<ul>
<li>
@@ -156,10 +156,41 @@
</li>
</ul>
</div>
- <h3><a
id="HC-21658130"></a>New Features</h3>
+ <h3><a
id="HC-26750913"></a>New Features</h3>
<div class="i1">
<ul>
<li>
+ <h3>New CLI build</h3>
+ <p>
+ A new log4net
assembly is built that targets all CLI 1.0 compatible runtimes.
+ This build is
essentially a common subset of the Mono 1.0 and .NET 1.0 builds.
+ It is built
using the MS .NET 1.0 compiler and libraries but does not use any
+ platform
specific APIs.
+ </p>
+ <p>
+ This build is
only available in release configuration and can be found at
+ <span
class="code">bin\cli\1.0\release</span>.
+ </p>
+ </li>
+ <li>
+ <h3>Logging
contexts</h3>
+ <p>
+ Logging
contexts can be used to record contextual data that is relevant to the current
+ process.
Logging contexts are both an extension of the concepts embodied in the
+ <span
class="code">MDC</span> and <span class="code">NDC</span> and a replacement for
+ them. The <span
class="code">MDC</span> and <span class="code">NDC</span> have been
+ reimplemented
to use the <span class="code">ThreadContext</span> as storage.
+ </p>
+ <p>
+ The logging
contexts provide a single unified view that cuts across different
+ scopes within
an application.
+ The contexts
are layered in the following order of narrowing scope:
+ <span
class="code">GlobalContext</span>, <span class="code">ThreadContext</span>,
+ <span
class="code">LogicalThreadContext</span>, and <span
class="code">LoggingEvent</span>.
+ Context values
specified in a narrower scope hide the matching value in a wider scope.
+ </p>
+ </li>
+ <li>
<h3><span
class="code">PatternLayout</span> customization and long pattern names</h3>
<p>
The <span
class="code">PatternLayout</span> now supports long pattern names.
@@ -226,6 +257,65 @@
</p>
</li>
<li>
+ <h3>Loading
configuration from a URI</h3>
+ <p>
+ The <span
class="code">XmlConfigurator</span> methods now support loading the
+ configuration
data from a URI. Config can be loaded from any URI supported by the
+ <span
class="code">System.Net.WebRequest</span> class.
+ </p>
+ </li>
+ <li>
+ <h3>Support for
No-Touch deployment</h3>
+ <p>
+ Log4net
supports configuring No-Touch deployment applications using the
+ <span
class="code">XmlConfiguratorAttribute</span>. If a relative config file
+ or extension is
specified then this is resolved relative to the deployment
+ URI.
+ </p>
+ </li>
+ <li>
+ <h3>Config file parser
enhancements</h3>
+ <p>
+ The config file
parser has been enhanced to support specifying the property subtype, or
intermediate type,
+ directly on the
property element, for example:
+ </p>
+ <div
class="syntax"><pre class="code">
+<layout type="log4net.Layout.PatternLayout" value="%message%newline"
/></pre></div>
+ <p>
+ Implicit
conversion will be attempted between the value string and the type specified,
+ and then again
between the type and the target property type.
+ </p>
+ </li>
+ <li>
+ <h3>.NET string
formatting syntax</h3>
+ <p>
+ Added .NET
<span class="code">String.Format</span> style formatting syntax methods to
+ the <span
class="code">ILog</span> interface. The new methods are:
+ <span
class="code">DebugFormat</span>, <span class="code">InfoFormat</span>,
+ <span
class="code">WarnFormat</span>, <span class="code">ErrorFormat</span>
+ and <span
class="code">FatalFormat</span>.
+ </p>
+ </li>
+ <li>
+ <h3>Customizable
levels</h3>
+ <p>
+ Levels are
defined by the repository <span class="code">LevelMap</span>. The defined
+ levels, the
relative ordering of levels and level display names can be configured on
+ a
per-repository basis.
+ </p>
+ </li>
+ <li>
+ <h3>Per-appender
security contexts</h3>
+ <p>
+ Appenders that
interact with controlled platform resources, e.g. files, can be
+ configured to
use a separate security context when accessing these resources.
+ The calling
thread may not have appropriate privileges to access the resource a
+ custom <span
class="code">SecurityContext</span> can be used to elevate the
+ privileges of
the appender. The <span class="code">WindowsSecurityContext</span>
+ is used to
specify alternative credentials on the Windows platform.
+ </p>
+ </li>
+ <li>
<h3>Added new
appenders</h3>
<dl>
<dt><span
class="code">AnsiColorTerminalAppender</span></dt>
@@ -265,7 +355,7 @@
</dl>
</li>
<li>
- <h3>Added new
filter</h3>
+ <h3>Added new <span
class="code">LoggerMatchFilter</span> filter</h3>
<p>
Added <span
class="code">LoggerMatchFilter</span> which matches a string against
the event's
logger name.
@@ -280,16 +370,6 @@
</p>
</li>
<li>
- <h3>Logging
contexts</h3>
- <p>
- Logging
contexts can be used to record contextual data that is relevant to the current
- process. The
contexts are layered in the following order of narrowing scope:
- <span
class="code">GlobalContext</span>, <span class="code">ThreadContext</span>,
- <span
class="code">LogicalThreadContext</span>, and <span
class="code">LoggingEvent</span>.
- Context values
specified in a narrower scope hide the matching value in a wider scope.
- </p>
- </li>
- <li>
<h3><span
class="code">SmtpAppender</span> authentication</h3>
<p>
On the .NET 1.1
platform only, the <span class="code">SmtpAppender</span> supports
authenticating
@@ -297,50 +377,24 @@
</p>
</li>
<li>
- <h3>Config file parser
enhancements</h3>
- <p>
- The config file
parser has been enhanced to support specifying the property subtype, or
intermediate type,
- directly on the
property element, for example:
- </p>
- <div
class="syntax"><pre class="code">
-<layout type="log4net.Layout.PatternLayout" value="%message%newline"
/></pre></div>
- <p>
- Implicit
conversion will be attempted between the value string and the type specified,
- and then again
between the type and the target property type.
- </p>
- </li>
- <li>
- <h3>.NET string
formatting syntax</h3>
- <p>
- Added .NET
<span class="code">String.Format</span> style formatting syntax methods to
- the <span
class="code">ILog</span> interface. The new methods are:
- <span
class="code">DebugFormat</span>, <span class="code">InfoFormat</span>,
- <span
class="code">WarnFormat</span>, <span class="code">ErrorFormat</span>
- and <span
class="code">FatalFormat</span>.
- </p>
- </li>
- <li>
- <h3>Customizable
Levels</h3>
+ <h3><span
class="code">AdoNetAppender</span> ReconnectOnError</h3>
<p>
- Levels are
defined by the repository <span class="code">LevelMap</span>. The defined
- levels, the
relative ordering of levels and level display names can be configured on
- a
per-repository basis.
+ Added new
configuration property to <span class="code">AdoNetAppender</span>.
+ Setting <span
class="code">ReconnectOnError</span> to <span class="code">true</span>
+ will force the
appender to attempt to reconnect to the database if the connection
+ is lost.
</p>
</li>
<li>
- <h3>Per-appender
security contexts</h3>
+ <h3><span
class="code">UdpAppender</span> hostname support</h3>
<p>
- Appenders that
interact with controlled platform resources, e.g. files, can be
- configured to
use a separate security context when accessing these resources.
- The calling
thread may not have appropriate privileges to access the resource a
- custom <span
class="code">SecurityContext</span> can be used to elevate the
- privileges of
the appender. The <span class="code">WindowsSecurityContext</span>
- is used to
specify alternative credentials on the Windows platform.
+ The <span
class="code">UdpAppender</span> config property <span
class="code">RemoteAddress</span>
+ can now be
specified as a DNS hostname string. The hostname is resolved to an IP address.
</p>
</li>
</ul>
</div>
- <h3><a
id="HC-9716945"></a>Other Changes</h3>
+ <h3><a
id="HC-6775863"></a>Other Changes</h3>
<div class="i1">
<ul>
<li>
@@ -372,12 +426,20 @@
Fixed date rolling period detection for non UTC timezones.
</p>
</dd>
+ <dt><span
class="code">ColoredConsoleAppender</span></dt>
+ <dd>
+ <p>
+
Updated to support writing more than 30,000 chars in a single message.
+
Fixed background color overspill if the console window needs to
+
scroll the contents.
+ </p>
+ </dd>
</dl>
</li>
</ul>
</div>
</div>
- <h2><a
id="HC-3278348"></a>1.2.0 Beta 8</h2>
+ <h2><a
id="HC-31753535"></a>1.2.0 Beta 8</h2>
<div class="i1">
<ul>
<li>
@@ -481,7 +543,7 @@
</li>
</ul>
</div>
- <h2><a
id="HC-2830910"></a>1.2.0 Beta 7</h2>
+ <h2><a
id="HC-28154095"></a>1.2.0 Beta 7</h2>
<div class="i1">
<ul>
<li>
@@ -542,7 +604,7 @@
</li>
</ul>
</div>
- <h2><a
id="HC-32486590"></a>1.2.0 Beta 6</h2>
+ <h2><a
id="HC-1281123"></a>1.2.0 Beta 6</h2>
<div class="i1">
<ul>
<li>
@@ -724,7 +786,7 @@
</li>
</ul>
</div>
- <h2><a
id="HC-4414010"></a>1.2.0 Beta 5</h2>
+ <h2><a
id="HC-23459640"></a>1.2.0 Beta 5</h2>
<div class="i1">
<ul>
<li>
@@ -740,7 +802,7 @@
</li>
</ul>
</div>
- <h2><a
id="HC-30983464"></a>1.2.0 Beta 4</h2>
+ <h2><a
id="HC-21607056"></a>1.2.0 Beta 4</h2>
<div class="i1">
<ul>
<li>
@@ -810,7 +872,7 @@
</li>
</ul>
</div>
- <h2><a
id="HC-7858936"></a>1.2.0 Beta 3</h2>
+ <h2><a
id="HC-23738549"></a>1.2.0 Beta 3</h2>
<div class="i1">
<ul>
<li>
@@ -855,7 +917,7 @@
</li>
</ul>
</div>
- <h2><a
id="HC-14900151"></a>1.2.0 Beta 2</h2>
+ <h2><a
id="HC-11601738"></a>1.2.0 Beta 2</h2>
<div class="i1">
<ul>
<li>
@@ -870,7 +932,7 @@
</li>
</ul>
</div>
- <h2><a
id="HC-10127976"></a>1.2.0 Beta 1</h2>
+ <h2><a
id="HC-5612344"></a>1.2.0 Beta 1</h2>
<div class="i1">
<ul>
<li>
1.4 +196 -3 logging-log4net/ChangeLog.txt
Index: ChangeLog.txt
===================================================================
RCS file: /home/cvs/logging-log4net/ChangeLog.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog.txt 28 Jan 2005 20:57:10 -0000 1.3
+++ ChangeLog.txt 17 Feb 2005 14:36:46 -0000 1.4
@@ -1,10 +1,203 @@
-
=============================================================================
-Version 1.2.XXXX
+Version 1.2.9 BETA
=============================================================================
+2005-02-15 18:56 nicko
+
+ * Util/TypeConverters/IPAddressConverter.cs:
+
+ Only attempt to IPAddress.Parse if the string contains valid IP address
characters
+
+2005-02-14 19:45 nicko
+
+ * Appender/AppenderSkeleton.cs:
+
+ Added anonymous catch handler
+
+2005-02-14 10:41 nicko
+
+ * NDC.cs:
+
+ Fixed Stack reference on NETCF
+
+ * Config/XmlConfigurator.cs:
+
+ Added DefaultCredential authentication support to loading config from
web request
+
+2005-02-14 03:45 nicko
+
+ * LogicalThreadContext.cs, MDC.cs, ThreadContext.cs:
+
+ Updated doc comments
+
+ * NDC.cs, Util/ThreadContextStack.cs:
+
+ Added support for all old methods in NDC - Depth, SetMaxDepth,
CloneStack, Inherit
+
+2005-02-14 03:24 nicko
+
+ * LogicalThreadContext.cs, ThreadContext.cs, log4net.csproj,
+ Util/ThreadContextList.cs, Util/ThreadContextLists.cs:
+
+ Removed Context Lists. The Context Stacks give essentially the same
functionality
+
+ * AssemblyInfo.cs:
+
+ Renamed CORE build to CLI_1_0
+
+ * Config/XmlConfiguratorAttribute.cs:
+
+ Added support for locating the config file when the app is deployed
from a web server, i.e. via no-touch deployment
+
+ * Config/XmlConfigurator.cs:
+
+ Added support for loading the configuration data via a URI
+
+ * Appender/FileAppender.cs, Appender/SmtpPickupDirAppender.cs,
+ Util/SystemInfo.cs:
+
+ Moved ConvertToFullPath method to SystemInfo
+
+ * Appender/ColoredConsoleAppender.cs, Appender/EventLogAppender.cs,
+ Appender/NetSendAppender.cs,
+ Appender/OutputDebugStringAppender.cs, Util/NativeError.cs,
+ Util/WindowsSecurityContext.cs:
+
+ Renamed CORE build to CLI_1_0
+
+2005-02-07 23:27 nicko
+
+ * Util/SystemInfo.cs:
+
+ Fixed TryParse on NETCF
+
+ * Layout/XmlLayoutSchemaLog4j.cs:
+
+ Updated link to log4j site
+
+2005-02-07 22:41 nicko
+
+ * DateFormatter/AbsoluteTimeDateFormatter.cs,
+ DateFormatter/DateTimeDateFormatter.cs,
+ DateFormatter/Iso8601DateFormatter.cs,
+ Layout/Pattern/DatePatternConverter.cs,
+ Util/PatternStringConverters/DatePatternConverter.cs:
+
+ Updated date patterns in doc comments to use .NET DateTime.ToString
formatting patterns rather than Java syntax
+
+ * Appender/EventLogAppender.cs, Appender/RollingFileAppender.cs,
+ Layout/Pattern/NamedPatternConverter.cs, Util/OptionConverter.cs,
+ Util/SystemInfo.cs,
+ Util/PatternStringConverters/RandomStringPatternConverter.cs:
+
+ Added SystemInfo.TryParse methods for parsing strings to integers.
These methods give a performance boost when the string cannot be parsed.
+
+2005-02-07 04:05 nicko
+
+ * Util/: PropertiesDictionary.cs, ProtectCloseTextWriter.cs,
+ QuietTextWriter.cs, ReadOnlyPropertiesDictionary.cs,
+ ReaderWriterLock.cs, ReusableStringWriter.cs, SystemInfo.cs,
+ TextWriterAdapter.cs, ThreadContextList.cs,
+ ThreadContextLists.cs, ThreadContextProperties.cs,
+ ThreadContextStack.cs, ThreadContextStacks.cs, Transform.cs,
+ WindowsSecurityContext.cs:
+
+ Tidied up doc comments
+
+ * Util/TypeConverters/: BooleanConverter.cs, EncodingConverter.cs,
+ IPAddressConverter.cs, PatternLayoutConverter.cs,
+ PatternStringConverter.cs, TypeConverter.cs:
+
+ Made type converter implementations internal
+
+2005-02-04 03:06 nicko
+
+ * log4net.csproj:
+
+ Added IPAddressConverter
+
+ * Util/TypeConverters/: ConverterRegistry.cs,
+ IPAddressConverter.cs:
+
+ Added IPAddressConverter that converts string IP addresses or DNS
Hostnames into IPAddress objects
+
+ * Util/OptionConverter.cs:
+
+ Updated ConvertStringTo to check for a registered converter before
looking for static Parse method
+
+ * Util/TypeConverters/ConversionNotSupportedException.cs:
+
+ Added support for passing nested exception to Create
+
+ * Appender/RollingFileAppender.cs:
+
+ Fixed issue where ExistingInit could open the output file if the
current file is from previous date period. This could lead to double open.
Fixed CountDirection when value is 0. Previously value had to be > or < 0 but
not 0. Now must either be positive or negative, 0 is positive.
+
+ * Appender/FileAppender.cs:
+
+ Fixed incorrect internal log message
+
+2005-02-01 20:20 nicko
+
+ * Appender/ColoredConsoleAppender.cs:
+
+ Fixed background color overspill when changing background colors and
the console buffer is scrolled - see comment in code
+
+2005-01-31 22:56 nicko
+
+ * Util/: AppenderAttachedImpl.cs, CompositeProperties.cs,
+ ContextPropertiesBase.cs, CountingQuietTextWriter.cs,
+ CyclicBuffer.cs, EmptyCollection.cs, EmptyDictionary.cs,
+ FormattingInfo.cs, GlobalContextProperties.cs, LevelMapping.cs,
+ LevelMappingEntry.cs, LogLog.cs,
+ LogicalThreadContextProperties.cs, NativeError.cs,
+ NullDictionaryEnumerator.cs, NullEnumerator.cs,
+ NullSecurityContext.cs, OnlyOnceErrorHandler.cs,
+ OptionConverter.cs, PatternConverter.cs, PatternParser.cs,
+ PatternString.cs:
+
+ Tidied up doc comments
+
+ * Appender/ColoredConsoleAppender.cs:
+
+ Updated to support writing more than 30,000 chars. Changed to use
Stream that calls WriteFile rather than WriteConsoleW
+
+2005-01-31 02:32 nicko
+
+ * Layout/PatternLayout.cs, Util/PatternString.cs:
+
+ Updated doc comments
+
+2005-01-28 22:18 nicko
+
+ * Appender/AdoNetAppender.cs:
+
+ Added ReconnectOnError property to AdoNetAppender
+
+2005-01-28 20:51 nicko
+
+ * Util/AppenderAttachedImpl.cs:
+
+ Cache the appenders list in an array for performance
+
+ * Repository/Hierarchy/: Hierarchy.cs, Logger.cs:
+
+ Added casting to improve performance when comparing Level object
against null. Only reference equals is required
+
+ * ObjectRenderer/RendererMap.cs:
+
+ Added cache map to RenderMap to hold the renderer for queried types
+
+ * Core/LoggingEvent.cs:
+
+ Updated to use RendererMap.FindAndRender method that returns a string
where appropriate
+
+ * Appender/AppenderCollection.cs:
+
+ Added ToArray() to AppenderCollection. Added missing ICollection.CopyTo
to ReadOnlyAppenderCollection.
+
2005-01-25 01:59 nicko
* Config/XmlConfiguratorAttribute.cs:
@@ -889,7 +1082,7 @@
* Appender/SmtpAppender.cs:
Update to the SmtpAppender from Al Little.
- Added SMTP Basic (username & password) and NTML (Windows Integrated)
authentication to the SmtpAppender.
+ Added SMTP Basic (username & password) and NTLM (Windows Integrated)
authentication to the SmtpAppender.
Added property to allow the SMTP server port to be set.
These features are only available on .NET 1.1 runtime using CDO as the
mail client implementation.
1.5 +107 -45 logging-log4net/xdocs/src/release/release-notes.xml
Index: release-notes.xml
===================================================================
RCS file: /home/cvs/logging-log4net/xdocs/src/release/release-notes.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- release-notes.xml 14 Feb 2005 03:15:37 -0000 1.4
+++ release-notes.xml 17 Feb 2005 14:36:46 -0000 1.5
@@ -81,6 +81,37 @@
<section name="New Features">
<ul>
<li>
+ <h3>New CLI build</h3>
+ <p>
+ A new log4net
assembly is built that targets all CLI 1.0 compatible runtimes.
+ This build is
essentially a common subset of the Mono 1.0 and .NET 1.0 builds.
+ It is built
using the MS .NET 1.0 compiler and libraries but does not use any
+ platform
specific APIs.
+ </p>
+ <p>
+ This build is
only available in release configuration and can be found at
+ <span
class="code">bin\cli\1.0\release</span>.
+ </p>
+ </li>
+ <li>
+ <h3>Logging
contexts</h3>
+ <p>
+ Logging
contexts can be used to record contextual data that is relevant to the current
+ process.
Logging contexts are both an extension of the concepts embodied in the
+ <span
class="code">MDC</span> and <span class="code">NDC</span> and a replacement for
+ them. The <span
class="code">MDC</span> and <span class="code">NDC</span> have been
+ reimplemented
to use the <span class="code">ThreadContext</span> as storage.
+ </p>
+ <p>
+ The logging
contexts provide a single unified view that cuts across different
+ scopes within
an application.
+ The contexts
are layered in the following order of narrowing scope:
+ <span
class="code">GlobalContext</span>, <span class="code">ThreadContext</span>,
+ <span
class="code">LogicalThreadContext</span>, and <span
class="code">LoggingEvent</span>.
+ Context values
specified in a narrower scope hide the matching value in a wider scope.
+ </p>
+ </li>
+ <li>
<h3><span
class="code">PatternLayout</span> customization and long pattern names</h3>
<p>
The <span
class="code">PatternLayout</span> now supports long pattern names.
@@ -147,6 +178,65 @@
</p>
</li>
<li>
+ <h3>Loading
configuration from a URI</h3>
+ <p>
+ The <span
class="code">XmlConfigurator</span> methods now support loading the
+ configuration
data from a URI. Config can be loaded from any URI supported by the
+ <span
class="code">System.Net.WebRequest</span> class.
+ </p>
+ </li>
+ <li>
+ <h3>Support for
No-Touch deployment</h3>
+ <p>
+ Log4net
supports configuring No-Touch deployment applications using the
+ <span
class="code">XmlConfiguratorAttribute</span>. If a relative config file
+ or extension is
specified then this is resolved relative to the deployment
+ URI.
+ </p>
+ </li>
+ <li>
+ <h3>Config file parser
enhancements</h3>
+ <p>
+ The config file
parser has been enhanced to support specifying the property subtype, or
intermediate type,
+ directly on the
property element, for example:
+ </p>
+ <div
class="syntax"><pre class="code">
+<layout type="log4net.Layout.PatternLayout"
value="%message%newline" /></pre></div>
+ <p>
+ Implicit
conversion will be attempted between the value string and the type specified,
+ and then again
between the type and the target property type.
+ </p>
+ </li>
+ <li>
+ <h3>.NET string
formatting syntax</h3>
+ <p>
+ Added .NET
<span class="code">String.Format</span> style formatting syntax methods to
+ the <span
class="code">ILog</span> interface. The new methods are:
+ <span
class="code">DebugFormat</span>, <span class="code">InfoFormat</span>,
+ <span
class="code">WarnFormat</span>, <span class="code">ErrorFormat</span>
+ and <span
class="code">FatalFormat</span>.
+ </p>
+ </li>
+ <li>
+ <h3>Customizable
levels</h3>
+ <p>
+ Levels are
defined by the repository <span class="code">LevelMap</span>. The defined
+ levels, the
relative ordering of levels and level display names can be configured on
+ a
per-repository basis.
+ </p>
+ </li>
+ <li>
+ <h3>Per-appender
security contexts</h3>
+ <p>
+ Appenders that
interact with controlled platform resources, e.g. files, can be
+ configured to
use a separate security context when accessing these resources.
+ The calling
thread may not have appropriate privileges to access the resource a
+ custom <span
class="code">SecurityContext</span> can be used to elevate the
+ privileges of
the appender. The <span class="code">WindowsSecurityContext</span>
+ is used to
specify alternative credentials on the Windows platform.
+ </p>
+ </li>
+ <li>
<h3>Added new
appenders</h3>
<dl>
<dt><span
class="code">AnsiColorTerminalAppender</span></dt>
@@ -186,7 +276,7 @@
</dl>
</li>
<li>
- <h3>Added new
filter</h3>
+ <h3>Added new <span
class="code">LoggerMatchFilter</span> filter</h3>
<p>
Added <span
class="code">LoggerMatchFilter</span> which matches a string against
the event's
logger name.
@@ -201,16 +291,6 @@
</p>
</li>
<li>
- <h3>Logging
contexts</h3>
- <p>
- Logging
contexts can be used to record contextual data that is relevant to the current
- process. The
contexts are layered in the following order of narrowing scope:
- <span
class="code">GlobalContext</span>, <span class="code">ThreadContext</span>,
- <span
class="code">LogicalThreadContext</span>, and <span
class="code">LoggingEvent</span>.
- Context values
specified in a narrower scope hide the matching value in a wider scope.
- </p>
- </li>
- <li>
<h3><span
class="code">SmtpAppender</span> authentication</h3>
<p>
On the .NET 1.1
platform only, the <span class="code">SmtpAppender</span> supports
authenticating
@@ -218,45 +298,19 @@
</p>
</li>
<li>
- <h3>Config file parser
enhancements</h3>
- <p>
- The config file
parser has been enhanced to support specifying the property subtype, or
intermediate type,
- directly on the
property element, for example:
- </p>
- <div
class="syntax"><pre class="code">
-<layout type="log4net.Layout.PatternLayout"
value="%message%newline" /></pre></div>
- <p>
- Implicit
conversion will be attempted between the value string and the type specified,
- and then again
between the type and the target property type.
- </p>
- </li>
- <li>
- <h3>.NET string
formatting syntax</h3>
- <p>
- Added .NET
<span class="code">String.Format</span> style formatting syntax methods to
- the <span
class="code">ILog</span> interface. The new methods are:
- <span
class="code">DebugFormat</span>, <span class="code">InfoFormat</span>,
- <span
class="code">WarnFormat</span>, <span class="code">ErrorFormat</span>
- and <span
class="code">FatalFormat</span>.
- </p>
- </li>
- <li>
- <h3>Customizable
Levels</h3>
+ <h3><span
class="code">AdoNetAppender</span> ReconnectOnError</h3>
<p>
- Levels are
defined by the repository <span class="code">LevelMap</span>. The defined
- levels, the
relative ordering of levels and level display names can be configured on
- a
per-repository basis.
+ Added new
configuration property to <span class="code">AdoNetAppender</span>.
+ Setting <span
class="code">ReconnectOnError</span> to <span class="code">true</span>
+ will force the
appender to attempt to reconnect to the database if the connection
+ is lost.
</p>
</li>
<li>
- <h3>Per-appender
security contexts</h3>
+ <h3><span
class="code">UdpAppender</span> hostname support</h3>
<p>
- Appenders that
interact with controlled platform resources, e.g. files, can be
- configured to
use a separate security context when accessing these resources.
- The calling
thread may not have appropriate privileges to access the resource a
- custom <span
class="code">SecurityContext</span> can be used to elevate the
- privileges of
the appender. The <span class="code">WindowsSecurityContext</span>
- is used to
specify alternative credentials on the Windows platform.
+ The <span
class="code">UdpAppender</span> config property <span
class="code">RemoteAddress</span>
+ can now be
specified as a DNS hostname string. The hostname is resolved to an IP address.
</p>
</li>
</ul>
@@ -293,6 +347,14 @@
Fixed date rolling period detection for non UTC timezones.
</p>
</dd>
+ <dt><span
class="code">ColoredConsoleAppender</span></dt>
+ <dd>
+ <p>
+
Updated to support writing more than 30,000 chars in a single message.
+
Fixed background color overspill if the console window needs to
+
scroll the contents.
+ </p>
+ </dd>
</dl>
</li>
</ul>
