RE: NullReferenceException in RollingFileAppender

2007-05-21 Thread Bart Read
ser Subject: RE: NullReferenceException in RollingFileAppender Bart, You need to call the ActivateOptions method on the PatternLayout and on the RollingFileAppender before calling BasicConfigurator.Configure. http://logging.apache.org/log4net/release/sdk/log4net.App

RE: NullReferenceException in RollingFileAppender

2007-05-21 Thread nicko
Nicko Cadell log4net development http://logging.apache.org/log4net From: Bart Read [mailto:[EMAIL PROTECTED] Sent: 21 May 2007 11:53 To: [email protected] Subject: NullReferenceException in RollingFileAppender Hi everyone, I'm trying to do something which (I

NullReferenceException in RollingFileAppender

2007-05-21 Thread Bart Read
Hi everyone, I'm trying to do something which (I hope) is fairly simple, however in the output from my application it seems that the RollingFileAppender always throws a NullReferenceException in its OpenFile method. Here's the exception output: log4net:ERROR [RollingFileAppender] OpenFil