Technical data
Managing Events
303561-A Rev 00
6-13
Displaying an Events Log File Previously Saved
You can use the
log
command to display a log file you previously saved. Enter the
following to display a log file, where <vol>
identifies the volume and <log_file>
is the name of the log file you want to display:
log
[
<vol>
:
<log_file>
]
The system reads the log file, which is stored in binary format, and forwards an
ASCII representation to the console.
The event format is identical to the format of the current log display.
You can use the same optional arguments when displaying a log file as you can
when displaying or saving the current log. Enter the following command to limit
the event types to display:
log
<vol>
:
<log_file>
[
-d
<date>
] [
-t
<time>
] [
-e
<entity>
] [
-f
<severity>
]
[
-s
<slot_ID>
]
See “Logging and Displaying Event Messages
” on page 6-2 for a description of
the optional arguments.
Examples:
log 2:10_12.log
Displays all events stored in the
10_12.log
file in slot 2
log 2:10_12.log -eTFTP
Displays all events logged by the TFTP driver and stored
in the
10_12.log
file in slot 2
log 2:10_12.log
-eSNMP -ftf
Displays all trace and fault events logged by the SNMP
driver and stored in the
10_12.log
file in
slot 2
log 2:10_12.log -s3
Displays all events logged to slot 3 and stored in the
10_12.log
file in slot 2