rollingfileappender - repetition of file name suffix
2008-03-04 04:20:31 GMT
Hi, I've searched around the documentation and on the web but couldn't find reference to this behavior (though the recent thread called "log4net and IIS problems" seems indirectly related.) I'm using a RollingFileAppender with a MinimalLock and simple date pattern for the file name. When I deploy my application, I get several files of the following form in my log directory (at bottom is the configuration): log2008-03.0 log2008-03.02008-03.0 log2008-03.02008-03.02008-03.0 Is this by design? My understanding was that the MinimalLock permits writes from multiple processes (though more slowly). I'm using the appender for an ASP.NET application in an app pool with more than one instance of the application running, and that undergoes worker process recycling periodically. I also understand that this is not the ideal scenario for a RollingFileAppender, but I'm just looking for something quick and wanted to understand the behavior above a bit better. Okay, thanks in advance for your help, and thanks also for your work in keeping this project going. --Chris(Continue reading)
RSS Feed