RE: CompactRepositorySelector

2004-12-01 Thread Nicko Cadell
Graham, Creating a library that monitors a configuration file and reloads the config should be straight forward. All the DOMConfigurtor.ConfigureAndWatch does is to monitor the file and call DOMConfigurator.Configure(FileInfo) each time it is notified about a file change. If you have a FileSyste

Re: CompactRepositorySelector

2004-12-01 Thread Graham Innocent
Thanks Nicko. Graham P.S. Do you have any 'smart device' Visual Studio project files lying around for making the netcf build ? To build log4net for the Compact Framework in Visual Studio: Just create a new C# "Smart Device Application" project. Add all the *.cs source files from the src dire

RE: CompactRepositorySelector

2004-12-01 Thread Nicko Cadell
> > P.S. Do you have any 'smart device' Visual Studio project > files lying around for making the netcf build ? > To build log4net for the Compact Framework in Visual Studio: Just create a new C# "Smart Device Application" project. Add all the *.cs source files from the src directory except

RE: RollingFileAppender does not log to the file

2004-12-01 Thread Nicko Cadell
Marco, This is usually a permission related issue. The ASP.NET worker process is running as the ASPNET use (by default) this account needs permission to create, modify, delete and list files in the directory. I am still slightly confused by the log4net-debug.txt trace that you included in your fi

RE: ADONetAppender

2004-12-01 Thread Nicko Cadell
Patrick, What error are you getting? Nicko > -Original Message- > From: Patrick [mailto:[EMAIL PROTECTED] > Sent: 30 November 2004 08:35 > To: Nicko Cadell > Subject: ADONetAppender > > Dear Mr. Cadell! > > > > Excellent, now it works. One problem occurred regarding my > mobile a

RE: list of conversionPatterns

2004-12-01 Thread Tony . Day
Thanks Dag - I did not even realise that there were CHM help files. I had simply been looking in "index.html" and associated files. Regards, Tony "Dag Christensen" <[EMAIL PROTECTED]> 01/12/2004 09:35 Please respond to "Log4NET User" To: "Log4NET User" cc: Su

RE: list of conversionPatterns

2004-12-01 Thread Dag Christensen
There's one in the help file, see the log4net.Layout -> PatternLayout topic (v1.2.0 beta 8) Regards, Dag -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 1. desember 2004 08:13 To: [EMAIL PROTECTED] Cc: Log4NET User Subject: Re: list of conversionPatterns Hi M

Re: list of conversionPatterns

2004-12-01 Thread Tony . Day
Hi Marc I could not find such a list in the log4net docs but have a look at http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html HTH Regards, Tony "M. d'Entremont" <[EMAIL PROTECTED]> 30/11/2004 23:53 Please respond to "Log4NET User" To: Log4NET Us

RE: ConfigureAndWatch and HttpContext

2004-12-01 Thread Josh Kewley
Ok, I found a solution. Should have stuck with it for a little while longer... Turns out that I needed to see if any appenders are still configured. In case anyone is looking for this in the future: static private ILog GetCurrentLogger() { ILog aLog = LogManager.GetLogger(new StackTrace().GetF

ConfigureAndWatch and HttpContext

2004-12-01 Thread Josh Kewley
I'm having a problem where ConfigureAndWatch won't craps out when trying to reload the configuration file after it's been modified. In my global.asax.cs file, I have the following: protected void Application_Start(Object sender, EventArgs e) { DOMConfigurator.DOMConfigurator.ConfigureAndWatch(