RE: programmatic configuration overrides XmlConfigurator.ConfigureAndWatch ?

2010-07-15 Thread Vivek R. Rathod
Sorry, may be I posted this too soon, but I do see the log level revert back to the original value - only I cant make it happen consistently. I looked through the source code and noticed that there is a 500 msec delay before the config change is processed. May be thats the reason, but Im not sur

Re: Programmatic configuration

2006-09-24 Thread Ron Grabowski
aceFile)); // 2 - Original Message From: Brendan Long <[EMAIL PROTECTED]> To: Log4NET User Cc: [EMAIL PROTECTED] Sent: Sunday, September 24, 2006 5:46:06 PM Subject: RE: Programmatic configuration > -Original Message- > From: cl408e [mailto:[EMAIL PROTECTED] > Sen

Re: Programmatic configuration

2006-09-24 Thread Ron Grabowski
dateTimeStr = DateTime.Now.ToString("MMdd-HHmm"); - Original Message From: Brendan Long <[EMAIL PROTECTED]> To: Log4NET User Cc: [EMAIL PROTECTED] Sent: Sunday, September 24, 2006 5:46:06 PM Subject: RE: Programmatic configuration [snip] // Insert current date

RE: Programmatic configuration

2006-09-24 Thread Brendan Long
> -Original Message- > From: cl408e [mailto:[EMAIL PROTECTED] > Sent: Friday, 22 September 2006 8:53 p.m. > To: [email protected] > Subject: Re: Programmatic configuration > > > have you got your answer? i am keen to know that too... Yes I did

Re: Programmatic configuration

2006-09-22 Thread cl408e
have you got your answer? i am keen to know that too... Brendan Long wrote: > > Hi, > > I am using log4net in a C# console application. The requirements > specify that I retrieve the error log file and debug log file from the > registry. Once I have done that I then need to configure my app

Re: Programmatic configuration

2006-09-13 Thread Ron Grabowski
Have you verified that you're able to get the most basic configuration up and running? ConsoleAppender consoleAppender = new ConsoleAppender(); BasicConfigurator.Configure(consoleAppender); ILog log = LogManager.GetLogger(typeof(Class1)); log.Debug("Hello"); log.Info("World"); The test cases