I see the file that generated the message (%F and %file both print out the file name) using this appender and compiling in Debug mode:
<appender name="AspNetFileAppender" type="log4net.Appender.FileAppender"> <file value="log.txt" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%p %F %file %d - %m%n" /> </layout> </appender> I'm using log4net 1.2.9 beta. --- "Castro, Yvette" <[EMAIL PROTECTED]> wrote: > I tried both. > > Currently it is in release mode. > > > > -----Original Message----- > From: Ron Grabowski [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 23, 2005 2:51 PM > To: Log4NET User > Subject: Re: File path empty > > Is your project compiled in Debug or Release mode? > > --- "Castro, Yvette" <[EMAIL PROTECTED]> wrote: > > > In my conversion pattern I use the %F or %file to get the file > > location with full file path. It outputs empty. > > > > Any ideas/suggestions greatly appreciated. > > > > Yvette > > > > > >
