Title: Message
Use RollingFileAppender to break up the log into manageable chunks. Then make backups of the rolled files. I wonder if there is DailyRollingFileAppender like the one for log4j which creates a new log ever day.
 
-----Original Message-----
From: Pinto, Antonio Joaquim [mailto:[EMAIL PROTECTED]
Sent: Friday, October 01, 2004 6:44 AM
To: [email protected]
Subject: Log files thread release

I�m using the latest version of log4net, with MS .NET Window Aplication, that is always running. I need one time every day to backup the log files from older days, but i can�t do it, because all the files are being used by the aplication ( System.IO.IOException - The process cannot access the file because it is being used by another process. ) when trying to move the old files to a backup directory. How can i release the files that aren�t already being used?
 
Thanks,
Antonio Pinto.
 

Reply via email to