This is a bug in log4net config file parsing. Currently you need to use double backslashes to resolve this.
Nicko > -----Original Message----- > From: Joe Joe [mailto:[EMAIL PROTECTED] > Sent: 09 November 2004 17:34 > To: log4net-user@logging.apache.org > Subject: Use of backslash in file paths > > Log4Net 1.2.0 Beta 8 doesn't seem to like backslashes in > filenames - e.g. > the following example results in output to "logTrace.log" instead of > "log\Trace.log": > > <appender name="DefaultAppender" > type="log4net.Appender.RollingFileAppender"> > <file value="log\Trace.log" /> > </appender> > > Is this a bug? I can workaround by using a forward slash or > doubling the backslash, but my administrators may forget to do this... > > JJoe > > _________________________________________________________________ > It's fast, it's easy and it's free. Get MSN Messenger today! > http://www.msn.co.uk/messenger > > >