Tracing issue

S

STom

If I have the following setting in my machine.config file:
<trace enabled="true" pageOutput="false">

and in my web.config
<trace enabled="true" pageOutput="false"/>

are these the same thing? for example if in my web.config file I have:
<trace enabled="true" pageOutput="true" />

Doesn't the local web.config file settings override the machine.config file
settings? I am trying to figure out here if I can just change the
machine.config file to get a trace output to the trace.axd file.

Thanks.

STom
 
M

martin

Hi,

don't touch machine.config. that method will change the behaviour of every
site on the server.
just change the value in web.config, that will override the settings in
machine.config

likewise, changing the attributes of the page or the control will override
the settings in web.config.

incidently, if the trace.axd is full there will be no trace output rendered
to the page.
In this case you will have to open trace.axd by browing to it and manually
clicking on the link to clear the trace.

cheers

martin.
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top