Cisco Cisco Application Extension Platform for SRE
Cisco Application eXtension Platform 1.1 User Guide
Verifying and Troubleshooting
121
Cisco Application eXtension Platform 1.1 User Guide
OL-14815-01
Note
Among keyword options for many log and trace commands is a provision to display diagnostic output
on your screen or to pipe it to a file or a URL.
on your screen or to pipe it to a file or a URL.
Diagnostics are of two types:
•
System log (syslog)—Syslog is an industry standard protocol for capturing the following events:
–
Fatal exceptions that cause an application or system crash, during which normal error-handling
paths are typically nonfunctional
paths are typically nonfunctional
–
Application run-time errors that cause unusual conditions and configuration changes
The syslog file size is fixed at (AIM) 1 MB or (network module) 10 MB. Syslog configurations
survive a power failure.
survive a power failure.
•
Traces—Trace logs capture events related to the progress of a request through the system.
Trace logs survive a CPU reset; trace configurations survive a power failure. Log and display these
with the trace commands.
with the trace commands.
To generate and display syslog and trace diagnostics, use trace commands as needed
Table 11
Common Logging Commands
Configuration Mode
Command
Purpose
SE-Module>
log console monitor
Configures error logging by means of
console logging (logged messages are
displayed on the console).
console logging (logged messages are
displayed on the console).
SE-Module>
log console
Configures the types of messages to be
displayed on the console.
displayed on the console.
SE-Module(config)>
log server
Configures error logging by means of a
system-log (syslog) server (syslog is an
industry-standard protocol for capturing
log information for devices on a
network).
system-log (syslog) server (syslog is an
industry-standard protocol for capturing
log information for devices on a
network).
SE-Module>
or
SE-Module(exec-app-se
rvice)>
show log name
Displays a specific log file in the
application environment.
application environment.
SE-Module(confg-app-s
ervice)>
log server address
Configures the remote logging server.
Table 12
Common Trace Commands
Configuration Mode
Command
Purpose
SE-Module>
clear trace
Clears logged trace events for specified
modules.
modules.
SE-Module (config)>
log trace
Logs configured traces to the service
module (can be done locally or remotely).
module (can be done locally or remotely).
SE-Module>
trace
Enables tracing for specified modules,
entities, or activities. The no form of the
command disables tracing.
entities, or activities. The no form of the
command disables tracing.