Cisco Support Tools 1.0 User Guide How to Use the Log Groups Utility from a Command Line 145
Command: Description: Example:
log_group_description,
lgdesc Optionally, sets a description for the current log
collection. >lgdesc <description>
close_log_group, closelg
/save
Closes and saves the current log group to the
application server's Repository.
When closing a new group, closelg automatically
saves the group.
When closing an existing group that was opened
for editing, you must explicitly choose save by
entering: closelg /save YES.
To close without saving, enter: closelg /save NO.
>closelg
list_log_groups, lslg List all log groups in the application server's
Repository. >lslg
display_log_group, dlg Displays details of a log group from the
application server's Repository. >dlg <log_group_name>
open_log_group, openlg Opens a log group for editing from the
application server's Repository. >openlg <log_group_name>
remove_log_group, rmlg Deletes a log group from the application server's
Repository. >rmlg <log_group_name>
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.
For example, you can direct input to run a batch
file that contains a series of commands
executable by this utility.
>read <filename>
silent Note: This command is not used with the Log
Groups utility.
quit, q Ends the program. >quit
Examples
Creating a Log Group The following table shows a sample log group creation, with a description of each entry.
Command Option: Description: