Chapter 12: - Using Cisco Tools from a Command Line

How to Use the Log Groups Utility from a Command Line

 

Command:

Description:

Example:

display_log_group, dlg

Displays details of a log group from the application server's >dlg <log_group_name>

 

Repository.

 

open_log_group, openlg

Opens a log group for editing from the application server's >openlg <log_group_name>

 

Repository.

 

remove_log_group, rmlg

Deletes a log group from the application server's

>rmlg <log_group_name>

 

Repository.

 

rename_log_group, renlg

Renames a log group in the application server's Repository. >renlg <old_group_name>

 

 

<new_group_name>

 

 

Note: Maximum length for

 

 

name is 32 characters.

xml

Note: This command is not used with the Log Groups

 

 

utility.

 

read_file, read

Directs command input to another input file.

>read <filename>

 

For example, you can direct input to run a batch file that

 

 

contains a series of commands executable by this utility.

 

silent

Note: This command is not used with the Log Groups

 

 

utility.

 

quit, q

Ends the program.

>quit

Creating a Log Group - Examples

The following table shows a sample log group creation, with a description of each entry.

Command Option:

Description:

>lgtool

Invokes the Log Group utility.

>clg my_log_group

Initiates a request for a new group and specifies the group name.

>lsys

Displays a list of systems, instances, nodes, and processes whose

 

logs can be added to the group.

>al /product ICM /system 192.168.2.199

Adds an ICM log to the group request.

/icm_customer customer_1 /icm_node LoggerA

 

/icm_process csfs

 

Cisco Support Tools User Guide for Cisco Unified Software Release 2.1(1)

146

Page 160
Image 160
Cisco Systems 2.1(1) manual Creating a Log Group Examples, Repository Renameloggroup, renlg, 146