Trace output not getting logged in output file at times.

Posted by Mini on Stack Overflow See other posts from Stack Overflow or by Mini
Published on 2009-12-07T07:03:10Z Indexed on 2010/03/22 4:01 UTC
Read the original article Hit count: 162

Filed under:

I'm using TextWriterTraceListener to log error messages to a text file.The TraceOutputFile has been mentioned in the web.config file as "trace.log.txt". The error messages are getting logged to the trace.log.txt. But at times I notice that some files are getting generated randomly under root folder with the exception details instead of logging to the trace.log.txt.

This is not happening in any particular page and hence I am unable to detect the reason as to why these files are getting generated.Ex:14dbc20a-9eb8-4fec-b6bd-54400db2ceatrace.log.txt .

Can u suggest me any circumstances when this might happen?

© Stack Overflow or respective owner

Related posts about trace