RE: SmtpAppender sending messages late

2007-11-28 Thread Roze, Pascal
Hi Try bufferSize value=0 / -Message d'origine- De : Johnson, Cedrick [mailto:[EMAIL PROTECTED] Envoyé : mardi 27 novembre 2007 19:38 À : log4net-user@logging.apache.org Objet : SmtpAppender sending messages late Howdy- I have a problem with the SMTP Appender in L4N that has stumped

Re: Programmatically Change Configuration?

2007-11-28 Thread Duder Himer
Thought I'd share this for anyone else who has a similar problem, since it took quite a bit of trial and error to get it to work right. This can probably be used for just about any log4net setting in a App.config file. The main difference would be the xpath query string. The below will take

Re: Programmatically Change Configuration?

2007-11-28 Thread Duder Himer
Correction: nav.SetValue(test.eng.fsu.edu); should be: nav.SetValue(smtpHost); - Original Message From: Duder Himer [EMAIL PROTECTED] To: Log4NET User log4net-user@logging.apache.org Sent: Wednesday, November 28, 2007 11:30:15 AM Subject: Re: Programmatically Change Configuration?

log4net-events.dtd ?

2007-11-28 Thread Duder Himer
Where can I get the log4net-events.dtd file? It is referenced in a few places in the documentation (for example: http://logging.apache.org/log4net/release/sdk/log4net.Layout.XmlLayout.html ) and release notes, but it doesn't seem to be in my source download. Thanks.

RE: batching log entries until exception

2007-11-28 Thread Pelton, Brian
What I wouldn't give for a lower-than-debug logging level. :) Log4net supports several more levels than the standard 5 (fatal, error, warn, info, debug). You have to write a custom implementation of an ILog, but its not too hard. There is a posting in the mailing list on how to do it. I have

Re: batching log entries until exception

2007-11-28 Thread Duder Himer
FYI, the source download has a src/Core/Level.cs file that lists the different levels, how they rank relative to one another, and a description of each. I printed out the Public Static Fields region for reference :) I wanted a similar behavior, because I didn't want log files generated unless