Log4net rollingfile appender skipping every other day in asp.net mvc app

Posted by tasty_spider_men on Stack Overflow See other posts from Stack Overflow or by tasty_spider_men
Published on 2010-04-15T20:10:56Z Indexed on 2010/04/15 20:13 UTC
Read the original article Hit count: 221

Filed under:
|

Hi,

I've set up some log4net logging on an asp.net mvc application i've had running for a little over a month now. I've set up rolling file (and smtp) appender on it.

The application is hit several thousand times a day - alot of actions are logged. On top of these a number of batch jobs are run as part of the application that also write to the log.

Now - as i've been occupied with other work, i've not attended to this application much assuming things to be working based on my test setup.

Unfortunately i discover that the rolling file appender on my production server seems to be skipping every other day. Ie i have logs : 10/4/2010, 10/4/2010.1, 10/4/2010.2, 12/4/2010, 12/4/2010.1 , 14/4/2010, 14/4/2010.1

etc.

Any idea what could be causing this? It is absolutely impossible that there has no action on these odd days for the lifetime of the application.

Cheers

© Stack Overflow or respective owner

Related posts about log4net

Related posts about asp.net-mvc