Cisco Support Tools 1.0 User Guide How to Use the Log Collection Utility from a Command Line 150
Command Option: Description:
Note: Applies to ICM products only. CCM, CMB, CEM, and CCS are not
affected by this option.
>merge on Optionally, specifies that logs should be merged. If not specified,
defaults to Off.
>submit Submits the request.
Downloading Collected Logs
The following table shows a sample log download request, with a description of each
entry.
Note that you must download a log in order to view it. You cannot view collected logs
directly from the Repository.
Logs download to the local machine, regardless of whether this is the machine
currently serving as your application server.
Command Option: Description:
>lctool Invokes the Log Collection utility.
>ccolreq my_collection_name Initiates a request for a new collection and specifies the collection
name.
>view my_collection Displays all of the logs collected by a particular collection. You must use
the view command prior to downloading a file.
Returns output such as shown below. Note the unique index number (0,
1,2) prefacing each log in the collection:
Name: "my_collection"
Creation time: Thu Sep 2 11:28:17 2003
Description:
Merge: false
Binary for ICM Log: false
Selection type: all
Including Log Group:
[my_group]
Collected item:
0) ICM : 10.86.128.84 nam50, RouterA, dba
1) ICM : 10.86.128.84 nam50, RouterA, et
2) ICM : 10.86.128.84 nam50, RouterA, mds