trace_level_listener = 16
trace_file_listener = listener
trace_directory_listener = /u01/app/oracle/product/11.1.0/db/network/trace
trace_timestamp_listener = on
trace_filelen_listener = 1000
trace_fileno_listener = 12
logging_listener = off
log_directory_listener = /u01/app/oracle/product/11.1.0/db/network/log
log_file_listener=listener
Explanation of parameters:
TRACE_LEVEL_[CLIENT|SERVER|LISTENER] = [0-16|USER|ADMIN|SUPPORT|OFF]
Determines the degree to which Oracle Net tracing is provided.
Configuration file is sqlnet.ora, listener.ora.
Level 0 is disabled (off) – level 16 (support) is the most verbose tracing level.
Listener tracing requires the Net Listener to be reloaded or restarted after adding trace parameters to listener.ora.
Oracle Net (client/server) tracing takes immediate effect after tracing parameters are added to sqlnet.ora.
By default, the trace level is OFF.
1. OFF (equivalent to 0) disabled – provides no tracing.
2. USER (equivalent to 4) traces to identify user-induced error conditions.
3. ADMIN (equivalent to 6) traces to identify installation-specific problems.
4. SUPPORT (equivalent to 16) trace information required by OSS for troubleshooting.
TRACE_FILE_[CLIENT|SERVER|LISTENER] =
Determines the trace file name.
Configuration file is sqlnet.ora, listener.ora.
Trace file is automatically appended with ‘.trc’.
Default trace file name is sqlnet.trc, listener.trc.
TRACE_DIRECTORY_[CLIENT|SERVER|LISTENER] =
Determines the directory in which trace files are written.
Configuration file is sqlnet.ora, listener.ora.
Default trace directory is $ORACLE_HOME/network/trace
TRACE_TIMESTAMP_[CLIENT|SERVER|LISTENER] = [ON|TRUE|OFF|FALSE]
A timestamp in the form of [DD-MON-YY 24HH:MI;SS] is recorded against each operation traced by the trace file.
Configuration file is sqlnet.ora, listener.ora
Suitable for hanging or slow connection issues.
Default value is is OFF.
TRACE_FILELEN_[CLIENT|SERVER|LISTENER] =
Determines the maximum trace file size in Kilobytes (Kb).
Configuration file is sqlnet.ora, listener.ora.
Default value is UNLIMITED.
TRACE_FILENO_[CLIENT|SERVER|LISTENER] =
Determines the maximum number of trace files through which to perform cyclic tracing.
Configuration file is sqlnet.ora, listener.ora.
Suitable when disk space is limited or when tracing is required to be enabled for long periods.
Default value is 1 (file).
LOG_DIRECTORY_[CLIENT|SERVER|LISTENER] =
Determines the directory in which log files are written.
Configuration file is sqlnet.ora, listener.ora.
Default directory is $ORACLE_HOME/network/log.
LOG_FILE_[CLIENT|SERVER|LISTENER] =
Determines the log file name.
Configuration file is sqlnet.ora, listener.ora.
Log file is automatically appended with ‘.log’.
Default log file name is sqlnet.log, listener.log
LOGGING_LISTENER = [ON|OFF]
Disables Listener logging facility.
Configuration file is listener.ora.
Default value is ON.