Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > newbie question about web.config, tracing

Reply
Thread Tools

newbie question about web.config, tracing

 
 
Jiho Han
Guest
Posts: n/a
 
      03-04-2004
I have a solution built with conditional #if(DEBUG) ... #endif, so that
statements like Context.Trace.Write("this is a trace statement."); are only
compiled into a debug build and not into a release one. So that works like
a charm. I built a debug and a release solution. In my dev environment,
things behave the way I want them to, debug build writes out to the trace so
I can view them via Trace.axd and the release doesn't.

The issue arises when I deploy the debug build to the testing environment.
The debug build no longer writes output to the trace. Tracing itself is
working because I see other Context.Trace.Write statements that are not
enclosed by #if(DEBUG)... #endif.
The ones that were enclosed, ones I'm interested in are not. I figure there
must be some kind of setting in web.config or machine.config somewhere, but
I can't seem to find it.

Can someone help?
Thanks.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about singleton class design for tracing Stephen Torri C++ 6 05-25-2007 07:33 AM
Tracing simple question =?Utf-8?B?c2VyZ2UgY2FsZGVyYXJh?= ASP .Net 6 09-28-2005 06:25 PM
Tracing a route question rc@die@you@!spammers.sandworm.demon.co.uk Cisco 5 11-08-2004 12:02 PM
Question about tracing in ASP.Net (For exam 70-315) Abdul MCAD 0 07-09-2004 10:05 AM
Tracing.Enabled question Do ASP .Net 1 12-01-2003 04:08 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57