ODP.NET tracing

383 views
Skip to first unread message

Tibert

unread,
Jul 12, 2021, 8:57:25 AM7/12/21
to Migrated By Firefly
Hi,

how can we activate the trace logging of odp?

we received this from oracle and paste it in the app.Config file (of the corresponding starting exe-file) , but we didn't get a trace file.
When we do it in the env code itself, we succeed.

Any thoughts?


<oracle.manageddataaccess.client>
<version number="*">
<settings>
<setting name="TraceOption" value="1"/>
<setting name="TraceLevel" value="7"/>
<setting name="TraceFileLocation" value="." />
</settings>
</version>
</oracle.manageddataaccess.client>

A couple recommendations to try and enable managed ODP.NET tracing:
1) Set the TraceLevel to 7 or lower value. The tracing level values for managed and unmanaged differ. These are the ones for managed.
TraceLevel : 1 = public APIs; 2 = private APIs; 4 = network APIs/data. These values can be ORed. To enable everything, set TraceLevel to 7. Errors will always be traced.
2) Set the TraceFileLocation to a directory name, not file name. Make sure the directory location exists

T V

unread,
Jul 12, 2021, 10:02:42 AM7/12/21
to Migrated By Firefly
question is solved, it seems that an additional configuration needs to be added in front of this:
snippet:

<configuration>
       <configSections>
              <section name="oracle.manageddataaccess.client"
                       type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
       </configSections>



Op ma 12 jul. 2021 om 14:57 schreef Tibert <tibertv...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "Migrated By Firefly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrated-by-fir...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/migrated-by-firefly/3d8c64c1-7d59-4e8f-bac6-71e5f5536cf5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages