You are correct that it has WRITE permissions to create the file. But in order to roll the file, it must rename the existing file first. If it does not have permissions to do this, it simply overwrites the old file.
Adding the MODIFY permission to the ASPNET user for the directory allows the files to roll properly. -----Original Message----- From: Joe Joe [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 7:32 AM To: log4net-user@logging.apache.org Subject: RE: RollingFileAppender: Date/Time based rolling doesn't work >This sounds like a permissions issue. > >Does the ASPNET user have modify permissions for the directory that >holds the logs? The account must have permission for the directory or it wouldn't have been able to create the original log file. I guess I should make time to take a look at the source. I suspect it is checking if it needs to roll the file between two writes (otherwise it wouldn't be working in my dev environment), but it isn't doing this check before the first write to the file after the application is restarted. _________________________________________________________________ Txt a lot? Get Messenger FREE on your mobile. https://livemessenger.mobile.uk.msn.com/