trace

H

hugo batista

Hi

I'm trying to output trace (diagnostics) to a text file in my web app

i used this in web config

<system.diagnostics>
<trace autoflush="true" indentsize="0">
<listeners>
<add name="myListener"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="c:\myTest.log"/>
</listeners>
</trace>
</system.diagnostics>


unfortunately...nothing happens .. any clue ?

thanks!
 

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

Top