|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
- [jira] [Comment Edited] (LOG4NET-82) RollingFileApp... Jaap Taal (JIRA)
- [jira] [Comment Edited] (LOG4NET-82) RollingFi... Dominik Psenner (JIRA)
The log files mentioned are absent.
I have this without tweaking with the date time. However I believe the following happens:
<staticLogFileName>true</staticLogFileName>
<rollingStyle value="Composite"/>
<datePattern value="yyyy-MM-dd"/>
When rolling from todays .txt to a .2 file, an existing .2 needs to be rolled to a day later, but this doesn't happen somehow and the file is absent.
On the console I see:
log4net:WARN Cannot RollFile [C:\inetpub\wwwroot\logs\log-harvester.txt.2] -> [C:\inetpub\wwwroot\logs\log-harvester.txt2012-08-21.2]. Source does not exist
log4net:WARN Cannot RollFile [C:\inetpub\wwwroot\logs\log-harvester.txt.3] -> [C:\inetpub\wwwroot\logs\log-harvester.txt2012-08-21.3]. Source does not exist
the files log-harvester.txt2012-08-21.2 and .3 don't exist and log-harvester.txt.2 has logfiles from today.
However the last log from the .1 file connects with the first log of the .4 file (i.e. there is not much time between them, and since I roll with 10MB, it takes a couple of hours for an entire log file to be filled), so no logs are lost...