Log4Net 1.2.10.

In an ASP.NET web application I've configured a RollingFileAppender to roll every day. It works fine on my development server.

On the production server, I never see a rolled file - instead it always appends to the configured log file.

The main difference I can see is that the ASP.NET application is restarted every night on the production server. Access to the application and therefore logging usually only occurs during working hours.

I would have expected Log4Net to roll the file the first time it attempts to write to it if the file last write time is in an old date period. But this doesn't seem to be the case.

Is there any way to workaround this behaviour?

Thanks.

_________________________________________________________________
Txt a lot? Get Messenger FREE on your mobile. https://livemessenger.mobile.uk.msn.com/

Reply via email to