Tracing issue

  • Thread starter Thread starter STom
  • Start date Start date
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
 
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.
 
Back
Top