debug persistent-log show
This command displays logged messages that are stored on the device's Persistent Logging storage.
Syntax
# debug persistent-log show
Command |
Description |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
category-list {conf|err|ha|init|other} |
Filters display by category of logged messages. You can filter by more than one category; make sure that you have spaces between the category subcommands (e.g., category-list conf ha). |
|||||||||
count <Number of Logs> |
Filters display by number of most recently logged messages. |
|||||||||
offset <Logged Message Index> |
When the count command is used, it filters display by displaying from this logged message index onward. |
|||||||||
start-date <Date> end-date <Date> |
Filters display by date range of logged event. The date is in the format YYYY-MM-DD, where YYYY is the year (e.g., 2017), MM the month (e.g., 01), and DD the day (e.g., 20). |
|||||||||
stats |
Displays statistics of the persistent logging:
|
Note
■ | The command is applicable only to Mediant 9000 and Mediant VE/SE. |
■ | Persistent Logging is always enabled (and cannot be disabled). |
Command Mode
Privileged User
Example
This example filters persistent logging by displaying two logged messages, starting from logged message at index 120:
# debug persistent-log show count 2 offset 120 120|2017-04-26 16:10:26|TPApp: [S=11008][BID=da4aec:20] SNMP Authentication Failure - source: IP = 172.17.118.45, Port = 1161, failed community string = public. [File:dosnmpv3.c Line:187] 121|2017-04-26 16:10:46|TPApp: [S=11009][BID=da4aec:20] SNMP Authentication Failure - source: IP = 172.17.118.45, Port = 1161, failed community string = public. [File:dosnmpv3.c Line:187]