Debug.WriteLine() creating thousands of <guid>.log files on system drive

  • Thread starter Thread starter sklett
  • Start date Start date
S

sklett

I just noticed the other day that I had almost 100k *.log files in the root
of my system drive. They all had a guid for a filename and were all 0 bytes
in size. I narrowed the problem down to one of my applications and even
further to a call to Debug.WriteLine(). After that call hundreds of these
files are created. It's not ALL calls to Debug.WriteLine(), just some and I
can't find anything about the data being passed that would cause an error.

has anyone else seen this? Any ideas what could cause this?

Thanks for reading,
Steve
 
The question you should ask is why should you have a Debug.WriteLine in your
running application? As the name implied, 'Debug' so are you doing
debugging?

chanmm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top