Customer Support Language
 
HomeKnowledge BaseBackazonHow to enable debug logging in Backazon
Information
Article ID162
Created On10/7/2008
Modified2/10/2009
Share With Others
How to enable debug logging in Backazon
This article applies to versions 1.0.344.0 and later.

To enable tracing for Backazon, create a config file named Backazon.config in the directory where Backazon was installed.  The default location is C:\Program Files\Douglas Associates\Backazon.

The contents of the Backazon.config file should look like this:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <system.diagnostics>
        <sources>
            <source name="General" switchName="generalSwitch" switchType="System.Diagnostics.SourceSwitch">
                <listeners>
                    <add name="GeneralListener"
                       type="System.Diagnostics.TextWriterTraceListener"
                       initializeData="General.log" />
                </listeners>
            </source>
            <source name="Licensing" switchName="licensingSwitch" switchType="System.Diagnostics.SourceSwitch">
                <listeners>
                    <add name="LicensingListener"
                       type="System.Diagnostics.TextWriterTraceListener"
                       initializeData="Licensing.log" />
                </listeners>
            </source>
            <source name="Engine" switchName="engineSwitch" switchType="System.Diagnostics.SourceSwitch">
                <listeners>
                    <add name="EngineListener"
                       type="System.Diagnostics.TextWriterTraceListener"
                       initializeData="Engine.log" />
                    <add name="EngineListenerConsole"           type="System.Diagnostics.ConsoleTraceListener" />
                </listeners>
            </source>
        </sources>
        <switches>
            <!-- To enable logging to the file indicated in the source section, set the switch value to one of these values:
                     Off=0, Error=1, Warning=2, Info=3, Verbose=4
                Higher numbers automatically include all lower numbers too...so Verbose gets all messages.
            -->
            <add name="generalSwitch" value="Verbose" />
            <add name="licensingSwitch" value="Verbose" />
            <add name="engineSwitch" value="Verbose" />
        </switches>
    </system.diagnostics>
</configuration>