LOGFILE Connection Manager configuration parameter

The LOGFILE parameter specifies the name and location of the Connection Manager log file.

Syntax

1  LOGFILE path_and_filename

Usage

The LOGFILE parameter is optional, and applies to the following connection units:
  • CLUSTER
  • GRID
  • REPLSET
  • SERVERSET

The path and file name of the log file display when the Connection Manager is started, and the log file is continuously updated with status information while the Connection Manager is running. If multiple Connection Managers are installed on the same host, specify a different path and file name for each Connection Manager.

Make sure that the directory for the log file exists, and that access to the file is enabled for the user that starts the Connection Manager.

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 SLA information about data send-and-receive activities between clients and the Connection Manager. The information is logged to $ONEDB_HOME/tmp/my_cm.log.
LOG 2
LOGFILE $ONEDB_HOME/tmp/my_cm.log