show log
Syntax
Description
This command displays system activity logs and allows you to monitor and view information for performance monitoring, troubleshooting, and debugging purposes.
Options
Parameter | Description |
---|---|
from time | Shows system logs from the time specified, in the format YYYY-MM-DDTHH:MM:SS |
monitor | Shows the current system activity. Type Ctrl-C to exit. |
to time | Shows system logs up to the time specified, in the format YYYY-MM-DDTHH:MM:SS |
from time to time | Shows system logs between the times specified |
Additional Information
The output is interpreted based on the following log message types:
Message Type | Log Description | Information Displayed |
---|---|---|
Audit | Messages associated with user login and logout events | Username User group Time Interface used to access (if available) Login/Logout |
Configuration | Messages associated with system configuration, including modifications and deletions | Username Time Creating/Modification/Deletion Committed configuration changes |
Command action | Messages associated with system commands | Username Time Command Command success/failure |
Operational state change logs | Messages associated with the following:
| Time Interface/Equipment/Entity Name State/Alarm/Condition |
Required Privilege Level
Related Documentation
None
Sample Output
The following example is a portion of a log display:
bti7800# show log
2017-02-27T14:29:40.235377-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for chassis:1 down (from unknown) 2017-02-27T14:29:40.414225-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for pem:1/2 down (from unknown) 2017-02-27T14:29:42.183976-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for fan:1/5 down (from unknown) 2017-02-27T14:29:42.489986-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for cmm:1/A down (from unknown) 2017-02-27T14:29:42.845581-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for cmm:1/B down (from unknown) 2017-02-27T14:29:42.952157-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for app:1/1 down (from unknown) 2017-02-27T14:29:43.382195-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for ufm:1/3 down (from unknown) 2017-02-27T14:29:43.687889-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for ufm:1/10 down (from unknown) 2017-02-27T14:29:43.917687-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for wps:1/12 down (from unknown) 2017-02-27T14:29:44.175796-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for ufm:1/13 down (from unknown) 2017-02-27T14:29:44.519900-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for amp:1/4 down (from unknown) 2017-02-27T14:29:44.914429-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for ila:1/5 down (from unknown) 2017-02-27T14:29:45.868214-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for roadm:1/8 down (from unknown) 2017-02-27T14:29:46.364552-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for roadm:1/9 down (from unknown) 2017-02-27T14:29:47.843331-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for fan:1/1 down (from unknown) 2017-02-27T14:29:49.387580-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for fan:1/2 down (from unknown) 2017-02-27T14:29:50.889741-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for fan:1/3 down (from unknown) 2017-02-27T14:29:52.319773-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for fan:1/4 down (from unknown) 2017-02-27T14:29:53.847338-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for fan:1/6 down (from unknown) 2017-02-27T14:29:54.368759-05:00 [system.0] INFO/EM.EQPT-OPER-STATE-CHG: operational state change for pem:1/1 down (from unknown)