%META:TOPICPARENT{name="InstallConfigADONETProviders"}%
= Call Tracing with our ADO.NET Providers =
To enable tracing using any of our ADO.Net Providers, create an environment variable called {{{OPL.NET.TRACE.CONFIG}}}, which targets a text file (which you'll create shortly); for example, on Windows:
{{{
set OPL.NET.TRACE.CONFIG=C:\Program Files\OpenLink Software\UDA\adotrace.cfg
}}}
This text file will contain structured XML as described (and with examples) below, with three key elements:
* provider -- specified by classname, as shown in the examples below
* tracelevel -- specified by values shown, in increasing level of detail; defaults to none if omitted
{{{
tracelevel ::= None | Exception | Warning | Info | Call | InternalCall | Debug
}}}
* tracefile -- filename prefix for tracefile. If omitted, trace output will be directed to the console. The filename prefix can include a path, either absolute or relative to the client application's working directory.
The output tracefile will be named in this form --
{{{
____.log
}}}
Trace output will be written to the specified log file in the form --
{{{