Oracle Network Products Troubleshooting Guide

Contents Index Home Previous Next

Listener Trace and Log Parameter Descriptions

TRACE_LEVEL_ LISTENER

This parameter determines the level of trace detail produced for the network listener. Setting the trace level to OFF disables trace. Trace should be OFF except for short diagnostic sessions.

Configuration file: LISTENER.ORA
Default value: OFF
OK to change? yes
Range of values: [OFF | USER | ADMIN]

OFF = No user-specified tracing. This value can be used to disable trace.
USER = End-user level: Trace to provide additional information to identify user-induced error conditions such as:

ADMIN = Administrator level: Trace to identify installation-specific problems, for substantiation of "finger pointing" in case of third-party stacks, and for the following situations:

TRACE_FILE_LISTENER

This parameter controls the trace filename for the listener. By default the trace file generated by the listener is called LISTENER.TRC. Note that for each trace session a trace output file is generated. Unless a new value for TRACE_FILE_LISTENER parameter is specified or the old trace file is relocated or renamed, the new trace output file overwrites the old trace output file.

Note: On most operating systems, the .TRC suffix is automatically appended to the trace filename, so there is no need to specify it in the configuration file.

Configuration file: LISTENER.ORA
Default value: LISTENER
OK to change? yes
Range of values valid filename

Example:

TRACE_FILE_LISTENER = LSNRA 

This example generates a trace file called LSNRA.TRC.

Note: If you use a name for the listener other than the default name for the listener (that is, LISTENER), the trace filename would be the name of the non-default listener; for example, LISNAGAIN.TRC.

TRACE_DIRECTORY_ LISTENER

This parameter is used to override the placement of the trace output file for the TNS Listener. The default location is specific to each operating system.

Configuration file: LISTENER.ORA
Default value: See your Oracle platform-specific
documentation
OK to change? yes
Range of values: valid directory

Example: See your Oracle platform-specific
documentation.

LOG_FILE_LISTENER

This parameter controls the log output filename for the Listener. By default the log file generated is called LISTENER.LOG. Log files always append new information to the end of the existing log until the administrator prunes the log file.

Note: If you use a name for the listener other than the default name for the listener (that is, LISTENER), the trace filename would be the name of the non-default listener; for example, LISNAGAIN.TRC.

Configuration file: LISTENER.ORA
Default value: LISTENER
OK to change? yes
Ranges of values: valid filename

Example:

LOG_FILE_LISTENER = LSNR 

This example generates a log file called LSNR.LOG

Note: On most operating systems, TNS appends the .LOG suffix to the log filename, so there is no need to specify it in the configuration file.

LOG_DIRECTORY_ LISTENER

This parameter is used to override the placement of the log output file for the listener. By default the log is written in the current working directory.

Configuration file: LISTENER.ORA
Default value: See your Oracle platform-specific
documentation.
OK to change? yes
Range of values: valid directory

Example: See your Oracle platform-specific
documentation.


Contents Index Home Previous Next