Tracing to text file in production environment (debug="false")

Ben Joyce <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
When I deploy a site into production I set the debug flag to false in
the Compilation section of web.config.  When I do this the debug.write
statements I have in my code are ignored so nothing gets written to
the text files listener I have set up.

I've tried using trace.write instead so I can still get stuff
outputted to a file when the site is running, but my trace.write
statements also seem to be ignored.

Is there some further configuration I have to do to enable this?

Cheers,

Ben

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.