Are you using log4net 1.2.9 beta? There were some improvements to the
robustness of the RollingFileAppender in that release?

Nicko 

> -----Original Message-----
> From: Eric Fetzer [mailto:[EMAIL PROTECTED] 
> Sent: 13 September 2005 17:25
> To: Log4NET User; [EMAIL PROTECTED]
> Subject: Re: log4net and IIS Application Pool
> 
> Here is the appender we're using:
> 
>               <appender name="RollingFileAppender"
> type="log4net.Appender.RollingFileAppender">
>                       <file value="ErrorLogs\\MyErrorLog.log" />
>                       <appendToFile value="true" />
>                       <rollingStyle value="Composite" />
>                       <maxSizeRollBackups value="30" />
>                       <maximumFileSize value="1000KB" />
>                       <staticLogFileName value="true" />
>                       <threshold value="info" />
>                       <layout type="log4net.Layout.PatternLayout">
>                               <conversionPattern value="%d 
> [%t] %-5p %c [%x] %n%m%n%n" />
>                       </layout>
>               </appender>
> 
> --- Matthew Brown <[EMAIL PROTECTED]> wrote:
> 
> > Eric,
> > 
> > How are you configuring the logger(s)?
> > 
> > On 9/13/05, Eric Fetzer <[EMAIL PROTECTED]>
> > wrote:
> > > 
> > > Hi all! Sorry if this has been discussed before,
> > I'm
> > > new to this user group and don't know how to
> > search as
> > > of yet.
> > > 
> > > We are using log4net for logging (go figure) and
> > have
> > > a problem every other day. We've narrowed the
> > problem
> > > down to when the worker processes are recycled.
> > Every
> > > other day logging works. Logging starts working on
> > a
> > > recycle, and then 24 hours later when we recycle
> > again
> > > stops working. We've tried setting the worker processes 
> to recycle a 
> > > second time 15 minutes
> > after
> > > the first recycle as a workaround, but that
> > doesn't
> > > seem to do the trick. Any ideas?
> > > 
> > > Thanks,
> > > Eric
> > > 
> > > 
> > > 
> > > __________________________________
> > > Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> > >
> > 
> 
> 
> 
>       
>               
> ______________________________________________________
> Yahoo! for Good
> Donate to the Hurricane Katrina relief effort. 
> http://store.yahoo.com/redcross-donate3/ 
> 
> 

Reply via email to