Documentation Center

Enabling user interface tracing

To enable user interface tracing, modify the Web.config file found in the web\WebUI\WebRoot\ subfolder of %TRIDION_HOME%. Note that switching on UI tracing can harm performance, and should be avoided in a production environment. You should also disable tracing as soon as you have identified the source of the problem you are investigating.

Procedure

  1. On your Content Manager server machine, navigate to the web\WebUI\WebRoot\ subfolder of %TRIDION_HOME%.
  2. Open the file Web.config in this location for editing.
  3. Within the configuration section, add the following:
    <system.diagnostics>
      <sources>
        <source name="System.ServiceModel.MessageLogging" switchValue="Verbose.ActivityTracing">
          <listeners>
            <clear />
            <add name="FileTracer" type="System.Diagnostics.TextWriterTraceListener" initializeData="Tridion.Web.UI.ContentManager.WebService_messages.log" />
          </listeners>
        </source>
      </sources>
      <switches>
        <add name="ShowErrors" value="1" />
      </switches>
      <trace autoflush="true">
        <listeners>
          <add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="Tridion.Web.trace" />
        </listeners>  
      </trace>
    </system.diagnostics>
  4. Save and close Web.config.
  5. Restart IIS.