16.7.2 Setting Tracing Parameters
Parameters that control tracing, including the type and amount of information trace, and the location where the files are stored, are set in the configuration file of each network component as described in Table 16-19.
Table 16-19 Location of Trace Parameters
| Configuration File | Component |
|---|---|
|
|
Oracle Connection Manager processes |
|
|
Listener |
|
|
Client Database server TNSPING utility |
This section contains the following topics:
- cman.ora Trace Parameters
Review the trace parameter settings for Oracle Connection Manager that can be set in thecman.orafile. - listener.ora Trace Parameters
Review the trace parameter settings for the listener that can be set in thelistener.orafile. - sqlnet.ora Trace Parameters
Review the trace parameter settings that can be set in thesqlnet.orafile. - Setting Tracing Parameters in Configuration Files
See Also:
Oracle Database Net Services Reference for additional information about these parametersParent topic: Tracing Error Information for Oracle Net Services
16.7.2.1 cman.ora Trace Parameters
Review the trace parameter settings for Oracle Connection Manager that can be set in the cman.ora file.
Table 16-20 cman.ora Trace Parameters
| cman.ora Parameter | Description |
|---|---|
|
The destination directory for trace files. By default, the directory is |
|
|
The size of the trace file in KB. When the size is reached, the trace information is written to the next file. The number of files is specified with the |
|
|
The number of trace files for tracing. When this parameter is set along with the The trace file names are distinguished from one another by their sequence number. For example, if this parameter is set to 3, then the Oracle Connection Manager trace files for the gateway processes would be named In addition, trace events in the trace files are preceded by the sequence number of the file. |
|
|
The level of detail the trace facility records for the listener. Specify one of the following trace level values:
The Oracle Connection Manager listener, gateway, and |
|
|
If the |
Parent topic: Setting Tracing Parameters
16.7.2.2 listener.ora Trace Parameters
Review the trace parameter settings for the listener that can be set in the listener.ora file.
Table 16-21 listener.ora Trace Parameters
| listener.ora Parameter | Oracle Enterprise Manager Cloud Control/Oracle Net Manager Field | Description |
|---|---|---|
|
Select a trace level/Trace Level |
The level of detail the trace facility records for the listener. The trace level value can either be a value within the range of 0 (zero) to 16 where 0 is no tracing and 16 represents the maximum amount of tracing or one of the following values:
|
|
|
Trace File |
The destination directory and file for the trace file. By default, the directory is |
|
|
You must set this parameter manually. |
The maximum age of listener trace files in minutes. When the age limit is reached, the trace information is written to the next file. The number of files is specified with the |
|
|
You must set this parameter manually. |
Specifies the maximum age of server trace files in minutes. When the age limit is reached, the trace information is written to the next file. The number of files is specified with the |
|
|
You must set this parameter manually. |
The size of the listener trace files in KB. When the size is reached, the trace information is written to the next file. The number of files is specified with the |
|
|
You must set this parameter manually. |
The number of trace files for listener tracing. When this parameter is set along with the The trace file names are distinguished from one another by their sequence number. For example, if the default trace file of In addition, trace events in the trace files are preceded by the sequence number of the file. When this parameter is set with the When this parameter is set with both the |
|
|
You must set this parameter manually. |
A time stamp in the form of |
Parent topic: Setting Tracing Parameters
16.7.2.3 sqlnet.ora Trace Parameters
Review the trace parameter settings that can be set in the sqlnet.ora file.
Table 16-22 sqlnet.ora Trace Parameters
| sqlnet.ora Parameter | Oracle Net Manager Field | Description |
|---|---|---|
|
Client Information: Trace Directory |
The destination directory for the client trace output. By default, the client directory is |
|
|
Server Information: Trace Directory |
The destination directory for the database server trace output. By default, the server directory is |
|
|
Client Information: Trace File |
The name of the trace file for the client. By default, the trace file name is |
|
|
Server Information: Trace File |
The name of the trace file for the database server. By default the trace file name is |
|
|
You must set this parameter manually. |
Specifies the maximum age of client trace files in minutes. When the age limit is reached, the trace information is written to the next file. The number of files is specified with the |
|
|
You must set this parameter manually. |
Specifies the maximum age of server trace files in minutes. When the age limit is reached, the trace information is written to the next file. The number of files is specified with the |
|
|
You must set this parameter manually. |
The size of the client trace files in KB. When the size is reached, the trace information is written to the next file. The number of files is specified with the |
|
|
You must set this parameter manually. |
The size of the database server trace files in KB. When the size is reached, the trace information is written to the next file. The number of files is specified with the |
|
|
You must set this parameter manually. |
The number of trace files for client tracing. When this parameter is set along with the The trace file names are distinguished from one another by their sequence number. For example, if the default trace file of In addition, trace events in the trace files are preceded by the sequence number of the file. When this parameter is set with the When this parameter is set with both the |
|
|
You must set this parameter manually. |
The number of trace files for database server tracing. When this parameter is set along with the The trace file names are distinguished from one another by their sequence number. For example, if the default trace file of In addition, trace events in the trace files are preceded by the sequence number of the file. When this parameter is set with the When this parameter is set with both the |
|
|
Client Information: Trace Level |
The level of detail the trace facility records for the client. The trace level value can either be a value within the range of 0 (zero) to 16 where 0 is no tracing and 16 represents the maximum amount of tracing or one of the following values:
|
|
|
Server Information: Trace Level |
The level of detail the trace facility records for the database server. The trace level value can either be a value within the range of 0 (zero) to 16 where 0 is no tracing and 16 represents the maximum amount of tracing or one of the following values:
|
|
|
You must set this parameter manually. |
A time stamp in the form of |
|
|
You must set this parameter manually. |
A time stamp in the form of |
|
|
Client Information: Unique Trace File Name |
When the value is set to |
You can manually add the TNSPING utility tracing parameters described in Table 16-23 to the sqlnet.ora file. The TNSPING utility determines whether a service, such as a database or other TNS services on an Oracle Net network can be successfully reached.
Table 16-23 TNSPING Trace Parameters
| sqlnet.ora Parameter | Description |
|---|---|
|
The destination directory for TNSPING trace file, |
|
|
The level of detail the trace facility records for the TNSPING utility. The trace level value can either be a value within the range of 0 (zero) to 16 where 0 is no tracing and 16 represents the maximum amount of tracing or one of the following values:
|
Parent topic: Setting Tracing Parameters
16.7.2.4 Setting Tracing Parameters in Configuration Files
Configure tracing parameters for the sqlnet.ora file with Oracle Net Manager and listener.ora file with either Oracle Enterprise Manager Cloud Control or Oracle Net Manager. You must manually configure cman.ora file tracing parameters.
- Setting Tracing Parameters for sqlnet.ora File Using Oracle Net Manager
- Setting Tracing Parameters for the Listener Using Oracle Enterprise Manager Cloud Control
- Setting Tracing Parameters for the Listener Using Oracle Net Manager
Parent topic: Setting Tracing Parameters
16.7.2.4.1 Setting Tracing Parameters for sqlnet.ora File Using Oracle Net Manager
The following procedure describes how to set the tracing parameters for the sqlnet.ora file using Oracle Net Manager:
-
Start Oracle Net Manager.
-
In the navigator pane, expand Profile under the Local heading.
-
From the list in the right pane, select General.
-
Click the Tracing tab.
-
Specify the settings.
-
Choose Save Network Configuration from the File menu.
The name of the trace file for the client is sqlnet.trc. The name of the trace file for the server is svr_pid.trc.
Parent topic: Setting Tracing Parameters in Configuration Files
16.7.2.4.2 Setting Tracing Parameters for the Listener Using Oracle Enterprise Manager Cloud Control
The following procedure describes how to set the tracing parameters for the listener using Oracle Enterprise Manager Cloud Control:
-
Access the Net Services Administration page in Oracle Enterprise Manager Cloud Control.
-
Select Listeners from the Administer list, and then select the Oracle home that contains the location of the configuration files.
-
Click Go to display the Listeners page.
-
Select a listener, and then click Edit to display the Edit Listeners page.
-
Click the Logging & Tracing tab.
-
Specify the settings.
-
Click OK.
The name of the trace file is listener.trc.
Parent topic: Setting Tracing Parameters in Configuration Files
16.7.2.4.3 Setting Tracing Parameters for the Listener Using Oracle Net Manager
The following procedure describes how to set the tracing parameters for the listener using Oracle Net Manager:
-
Start Oracle Net Manager.
-
In the navigator pane, expand Listeners from the Local heading.
-
Select a listener.
-
From the list in the right pane, select General.
-
Click the Logging and Tracing tab.
-
Specify the settings.
-
Choose Save Network Configuration from the File menu.
Parent topic: Setting Tracing Parameters in Configuration Files