Logging not working sometimes

Topics: Building and extending application blocks, Exception Handling Application Block, General discussion, Logging Application Block
Jul 7, 2008 at 12:43 PM
Hi,

We have used Enterprise Library for configuring the exception handling and logging for our application. Exceptions are being logged into the trace file and event log most of the time. But sometimes, it stops logging the exceptions into the trace file. But it logs them in the event log. It again starts logging into the trace file after restarting the IIS server. We have checked all the configurations and they are perfectly fine. If anyone of you experienced this kind of problem and solved it, can you please post the solution here?

Regards
Ram
Jul 7, 2008 at 6:57 PM
Hi,

Are you using ASP.NET impersonation? Which trace listener are you using?

Fernando


thumatik wrote:
Hi,

We have used Enterprise Library for configuring the exception handling and logging for our application. Exceptions are being logged into the trace file and event log most of the time. But sometimes, it stops logging the exceptions into the trace file. But it logs them in the event log. It again starts logging into the trace file after restarting the IIS server. We have checked all the configurations and they are perfectly fine. If anyone of you experienced this kind of problem and solved it, can you please post the solution here?

Regards
Ram