Re: XmlHierarchyConfigurator

2006-12-21 Thread Igor Trofimov
Yes! It would be great! And what about this small modification? :) 2006/12/22, Ron Grabowski <[EMAIL PROTECTED]>: The call to SetParameter (XmlHierarchyConfigurator.cs:185) in the foreach loop inside the Configure method could be replaced with a call to ParseUnknownElement: protected virtual

Re: XmlHierarchyConfigurator

2006-12-21 Thread Ron Grabowski
The call to SetParameter (XmlHierarchyConfigurator.cs:185) in the foreach loop inside the Configure method could be replaced with a call to ParseUnknownElement: protected virtual ParseUnknownElement(XmlElement xmlElement, Hierarchy hierarchy) { SetParameter(xmlElement, hierarchy); } to ma

Re: log4net is truncating log messages with %20.20type{1}.%-30.30method in the ConversionPattern

2006-12-21 Thread Ron Grabowski
Does this code demonstrate the problem at all? I get the same results from .NET 1.1 and 2.0: using System; using System.Runtime.CompilerServices; using log4net; using log4net.Appender; using log4net.Config; using log4net.Layout; namespace ConsoleApplication2 { class Class1 { priv

Re: Dynamic SmtpAppender subject

2006-12-21 Thread Ron Grabowski
Here's an example: http://tinyurl.com/y9nr8x http://svn.apache.org/viewvc/logging/log4net/trunk/examples/net/1.0/Appenders/SampleAppendersApp/cs/src/Appender/SimpleSmtpAppender.cs?view=markup - Original Message From: Ron Grabowski <[EMAIL PROTECTED]> To: Log4NET User Sent: Thursday, Dec

Re: Dynamic SmtpAppender subject

2006-12-21 Thread Ron Grabowski
Its not possible with the current implementation of SmtpAppender. I recall someone posting code showing how it could be done (its not terribly difficult). If the SmtpAppender is setup to buffer messages, what message should appear in the subject: the most recent one, the first one, the most crit

Dynamic SmtpAppender subject

2006-12-21 Thread Morten Andersen
Hi, Is it possible to use the log message as subject on the smtp appender? - Morten