Hi

I am using log4net on my asp.net web page hosted at an IIS server. This seems 
to work just fine until I do some changes in the source. Since asp.net runs as 
a shadow copy, changes will be compiled on the next request after the change 
was made. I guess this causes the log manager to duplicate itself, and the 
second one will not have write access to the log files. Since the old app 
domain will not die before all the requests are completed, the new log manager 
must wait for this pool to die before enabling the appenders. An alternative 
solution can be that the log manager retries to create the appenders if it 
fails.

Maybe it already exist a solution for this problem?

Best regards,
Morten Andersen

Reply via email to