Generating the OCL Trace¶
The OCL tracing option logs direct communication (queries, updates,
etc.) with the backend in specified
OCI_DEBUG_LOG file. In addition, it
also logs the functions/APIs that were invoked. The trace files are
generated in the default working directory (
oci_log_file_name). If you
append the path with a file name (
then the trace files are generated at specific location.
A tracefile is generated for each connection in text file (readable) format.
OCL tracing is disabled by default.
To generate the OCL Trace:
- Enable the EDB Client Side tracing for OCL. You can enable the OCL tracing by setting below environment variables:
- Once you have exported the environment variables, execute the application. The OCL trace files are generated in the specified directory.