Click or drag to resize

Tracing Switches

Home

Trace switches allow you to enable, disable, and filter the tracing output. They are objects that exist in software and can be configured externally through the ‘CAS.DataPorter.exe.config’ file. Trace switches can be useful for filtering information. For example, you want to see every tracing message in a data access module, but only error messages in the rest of the application. In that case, use one trace switch for the data access module and one switch for the rest of the application. Using the ‘CAS.DataPorter.exe.config’ file to configure the switches to the appropriate settings, you will be able to control what types of trace messages you receive. Levels allow you to limit the amount of tracing information you receive to information needed to solve a problem only. To specify the level of detail you want in your tracing output, set and configure the trace switches to the appropriate trace level. You can receive the following messages:

Enumerated value

Integer value

Type of message displayed (or written to a specified output target)

Off

0

None

Error

1

Only error messages

Warning

2

Warning messages and error messages

Info

3

Informational messages, warning messages and error messages

Verbose

4

Verbose messages, informational messages, warning messages and error messages