RE: ERROR: No appender named [A] could be found

2004-11-17 Thread Neils . Christoffersen
In all the example documentation I've seen, the element of the config is defined after the definitions. I don't know why this would make a difference, but maybe try that and see if it makes any difference. I can't see anything obviously wrong with your code or config. -Original Message---

RE: Logging Best Practices

2004-11-16 Thread Neils . Christoffersen
Title: Message Some of the documentation on the website is out of date.  Check out the docs that came with the log4net distribution in the "doc" folder. -Original Message-From: Dru Sellers [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 5:35 PMTo: 'Log4NET User'Subject: Log

RE: can one use >1 appender and to have "fail-over" logging

2004-11-10 Thread Neils . Christoffersen
log errors to e-mail. On a side note, all of your e-mails are coming to me as rich-text (RTF) attachments. Could you switch to plain text? -- Neils Christoffersen BIT Integration 773-2723 -Original Message- From: Mark Kamoski [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10,

RE: Access is denied: 'log4net'

2004-11-10 Thread Neils . Christoffersen
Wouldn't that throw a FileNotFoundException? -Original Message- From: Benjamin Peikes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 1:50 PM To: Log4NET User Subject: RE: Access is denied: 'log4net' Actually, it looks like log4net is not in a directory where the server can

RE: RollingFileAppender question

2004-10-27 Thread Neils . Christoffersen
to wait until midnight to see if it rolls over. Thanks. -- Neils Christoffersen -Original Message- From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 11:06 AM To: Log4NET User Subject: RE: RollingFileAppender question Try adding Nicko > -Original

RE: RollingFileAppender question

2004-10-27 Thread Neils . Christoffersen
Currently it is not creating anything with the date in the filename, just a cdtimer.log file. I switched the date pattern, we'll see if that works. -- Neils Christoffersen -Original Message- From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 10:54

RollingFileAppender question

2004-10-27 Thread Neils . Christoffersen
cally), creating a file called "cdtimer.log.2004.10.25", with "cdtimer.log" being the most current file. At the moment it appears that the file is not being rolled over at all. Can anyone point out the error of my ways? Thanks! -- Neils Christoffersen

RE: TextBoxAppender

2004-10-23 Thread Neils . Christoffersen
Don't thank me, thank Nicko for providing the bulk to the implementation (GetAppenders and SetTextBox methods). I wasn't aware of the threading issues involved, so thank you for the updated code. -Original Message- From: Paul Welter [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 200

RE: TextBoxAppender

2004-10-20 Thread Neils . Christoffersen
I have the following line in AssemblyInfo.cs, so log4net has the details of my config file: [assembly: log4net.Config.DOMConfigurator(ConfigFile="log4net.config",Watch=true)] The "log4net.config" file should be located in the same directory as your application and look something like this:

RE: TextBoxAppender

2004-10-20 Thread Neils . Christoffersen
I've pasted my TextBoxAppender and the applicable section of my log4net config file below (namespaces changed to protect the innocent). I use the DOMConfigurator.Configure() to parse the config file when starting the application and then call TextBoxAppender.SetTextBox(), passing it a reference to

RE: TextBoxAppender

2004-10-20 Thread Neils . Christoffersen
I chose the second option (as I am already using DOMConfigurator) and it worked beautifully. I added your SetTextBox() and GetAppenders() methods to my TextBoxAppender, so all the code has to do is call TextBoxAppender.SetTextBox(myTextBox). Thanks very much for your time. -Original Message--

TextBoxAppender

2004-10-19 Thread Neils . Christoffersen
Title: TextBoxAppender I'd like to have log4net append messages to a TextBox control.  I have subclassed AppenderSkeleton into a TextBoxAppender class, but don't know how to pass it an instance of TextBox to append to. I found this same question posted on the old sourceforge list with no resp