show system log
This command displays the device's logged event messages.
Syntax
show system log
Command |
Description |
---|---|
(Carriage Return) |
Displays all logged message history. |
-h |
Displays the log history in a readable format. |
no-sip |
Displays all non-SIP related logged messages (in chronological order). |
persistent [0-9] |
Displays all persistent log history or optionally, a specific persistent log file (0 to 9, where 0 is the latest file). |
Command Mode
Basic and Privileged User
Note
■ | The persistent command is applicable only to Mediant 9000 and Mediant VE/SE. |
■ | Persistent Logging is always enabled (cannot be disabled). |
Related Commands
■ | system-log-size: Configures the maximum file size of the system log that is saved on the device, use the command . This determines the amount of logged information displayed when the show system log command is run. |
■ | system-persistent-log-size: Configures the maximum file size of each persistent log. |
■ | system-persistent-log-period: Configures the maximum file age of each persistent log. |
■ | copy system-log-persistent: Sends persistent log files to a remote server. |
■ | tail system log: Shows the tail-end (last lines) of the output. |
Example
This example displays the persistent logged messages stored in logged file #0 (latest):
show system log persistent 0
Sep 9 04:53:28 local0.notice [S=5165] [BID=20d56a:101] !!! Repeated 31528 times : CDR/SDR (SDR-STORAGE-HISTORY): send to '10.8.5.150' failed: Failed to connect to host [Time:09-09@04:53:28.592]
Sep 9 01:10:19 local0.notice [S=3877] [BID=20d56a:101] !!! Repeated 23908 times : CDR/SDR (SDR-STORAGE-HISTORY): send to '10.8.5.150' failed: Failed to connect to host [Time:09-09@01:10:19.165]