LOG Connection Manager configuration parameter
The LOG parameter specifies logging for Connection Manager modes.
LOG parameter value | Description |
---|---|
0 (default) |
Specifies that logging is turned off. |
1 |
The Connection Manager logs proxy-mode and redirect-mode SLA information. |
2 |
The Connection Manager logs proxy-mode SLA information only. Data send-and-receive activities between clients and the Connection Manager is logged. |
3 |
The Connection Manager logs proxy-mode SLA information only. Data content between clients and the Connection Manager is logged. |
Usage
The LOG parameter is optional, and
applies to the following connection units:
- CLUSTER
- GRID
- REPLSET
- SERVERSET
Set the LOGFILE parameter to specify where log files are stored. If the LOGFILE parameter is not set, the Connection Manager creates a log file in the $ONEDB_HOME/tmp directory, with a name of connection_manager_name.process_ID.log.
Example
In the following example, the Connection
Manager logs proxy-mode and redirect-mode SLA information to $ONEDB_HOME/tmp/my_cm.log.
LOG 1
LOGFILE $ONEDB_HOME/tmp/my_cm.log