Precompilers and OCI (MOSC)

MOSC Banner

Disable Oracle Instant Client 11.2 diagnostics

edited Apr 2, 2013 10:46AM in Precompilers and OCI (MOSC) 2 commentsAnswered
Hi All

In Oracle Instant Client 11.2.0.3, generation of diagnostic information is enabled by default and can only be disabled by adding appropriate entries to the sqlnet.ora file and ensuring that the TNS_ADMIN environment variable is set appropriately to locate that sqlnet.ora file.

e.g.
To remove diagnosability, diagnostics can be turned off by setting the following parameters in sqlnet.ora (the default is TRUE):

DIAG_ADR_ENABLED=OFF 
DIAG_DDE_ENABLED=FALSE
DIAG_SIGHANDLER_ENABLED=FALSE 

Could anyone please advise if there is an API call or programmatic method that will enable this to logging to be reset from within a client application without setting TNS_ADMIN and installing a sqlnet.ora file on each client.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center