I tried to use RollingFileAppender in an Web Application. I set the file size limit to 10k and date pattern yyyymmdd.
I was able to create the logfile.txt and when it is over 10k, it can be moved to logfile.txt.1. (This mean there is no access right problem)
However, if I then change the clock of the computer to one day later, RollingFileAppender try to rename logfile.txt to logfile.txt20050721
log4net: RollingFileAppender: Moving [c:\inetpub\wwwroot\virtual\logfile.txt.1] -> [logfile.txt20050721.1]
Obviously the "destination" should be a full path c:\inetpub\wwwroot\virtual\logfile.txt20050721.1
in RollingFileAppender.cs, line 1018 and 1023, call ConvertToFullPath(to) before calling RollFile.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|2d 10h 22m||1||Nicko Cadell||23/Jul/05 05:02|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Duplicate [ 3 ]|
|Assignee||Nicko Cadell [ nicko ]|
|Fix Version/s||1.2.10 [ 11128 ]|