file build log
This command collects log information by service or feature.
file build log component
Syntax Description
Parameters | Description |
---|---|
service/feature |
specifies the component or functional area from which to retrieve log information |
Command Modes
Administrator (admin:)
Usage Guidelines
Requirements
Command privilege level:
Allowed during upgrade:
Examples
This command collects logs for the Client Profile Agent.
admin: file build log cpa
Collecting logs
Collecting: logname1.txt
Collecting: logname2.txt
To retrieve run the following command:
file get epas/trace/acdc_2012-06-28-111258.tar.gz
This command collects all logs defined in the xml config.
admin:file build log all
Collecting logs
Collecting: logname1.txt
Collecting: logname2.txt
To retrieve run the following command:
file get epas/trace/acdc_2012-06-28-111258.tar.gz
This command collects logs for multiple services.
admin:file build log dbmon cpa
Collecting logs
Collecting: logname1.txt
Collecting: logname2.txt
To retrieve run the following command:
file get epas/trace/acdc_2012-06-28-111258.tar.gz
This command shows help.
admin:file build log ?
Syntax:
file build log [serviceName [serviceName] ..]
Service Names:
FullName ShortName
cisco_client_profile_agent cpa
cisco_database_layer_monitor dbmon
cisco_audit_logs audit
cisco_ris_dat_collector risdc