RE: Log4Net and MSTest

2008-10-10 Thread Pelton, Brian
med. Okay, well at least it is working! --Brian From: Pelton, Brian [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 9:06 AM To: log4net-user@logging.apache.org Subject: Log4Net and MSTest Does anyone use MSTest and if so, have you had success in getting logging to work

Log4Net and MSTest

2008-10-10 Thread Pelton, Brian
Does anyone use MSTest and if so, have you had success in getting logging to work with your tests? Normally, in my application log4net is configured by a call to: log4net.Config.XmlConfigurator.Configure(logConfigFile); But, I'm writing tests for one of my library projects, so I don't s

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 hav

RE: Turn off logging for a specific event only

2006-09-26 Thread Pelton, Brian
One option would be to use a separate logger for that method. You could then control the logging for it. This would mean you would have to modify the source code to use a new logger. Is that possible? --Brian From: Ramaa Davanagere [mailto:[EMAIL PROTECTED]

RE: Use properties in log file name

2006-04-27 Thread Pelton, Brian
I guess I didn't look hard enough. I found out how to do it: -Original Message- From: Pelton, Brian [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 12:51 PM To: log4net-user@logging.apache.org Subject: Use properties in log file name I would like to use the host name i

Use properties in log file name

2006-04-27 Thread Pelton, Brian
I would like to use the host name in the log file's name: But this doesn't work. When I look at log4net's internal log, it says it cannot create the appender because: "System.NotSupportedException: The given path's format is not supported." Is there anyway to have a dynamic log file na