-getLogInfo

Description

Retrieves the connection log information for a specified connection.

Syntax

ratool -getLogInfo <connection_name> [-file <log_file>]

Parameters

connection_name

The name of the connection for which you want log information.

log_file

The name of the log file to which you are sending the connection log information.

Examples

Example 1

To get the connection log information for connection RepToJMS:

ratool -getLogInfo RepToJMS

Example 2

To get the connection log information for connection RepToJMS and send log information to RepToJMS.log:

ratool -getLogInfo RepToJMS -file RepToJMS.log

Example 3

To get the connection log information for connection RepToJMS and send log information to the default log file (defaultRepToJMS.log):

ratool -getLogInfo RepToJMS -file

Usage

By default, the log information displays to a standard output screen. If you specify -file, log information is sent to the specified file name. If you specify -flag without a file name, log information is sent to a default file name. The default file name is default<connection_name>.log.