Monday, March 7, 2011

Controlling ADMSConsole log file verbosity

Issue

You want to know how to change the amount of information that is written to the ADMS Console log file.

Solution

You can control the verbosity of the ADMSConsole by editing the Connectivity.ADMSConsole.exe.Config file located in the C:\Program Files\Autodesk\Data Management Server 2009\ADMS Console folder.
You can adjust the verbosity for different processes by editing the "value=" parameter from 1 to 4 in the following section:
<system.diagnostics>
    <trace autoflush="true" indentsize="4">
      <listeners>
        <add name="rollingListener" type="Connectivity.Core.Exceptions.RollingLogListener,Connectivity.Platform" />
        <remove name="Default" />
      </listeners>
    </trace>
    <!-- To receive general trace messages change the value to the
        appropriate level. "1" gives error messages, "2" gives errors
        and warnings, "3" gives more detailed information, and
        "4" gives verbose trace information -->
    <switches>
      <add name="SecurityTracing" value="3" />
      <add name="ClientStackSwitch" value="1" />
      <add name="ErrorCodeSwitch" value="4" />
      <add name="LibraryServiceSwitch" value="3" />
      <add name="IndexerTraceSwitch" value="3" />
      <add name="MigrationTraceSwitch" value="3" />
      <add name="ReplicationResourceTraceSwitch" value="3" />
      <add name="VacuumCleanerTraceSwitch" value="4" />
      <add name="ConfigurationBooleanSwitch" value="1" />

No comments:

Post a Comment