show logging xml
show logging xml
To display the state of system message logging in an XML format, and to display the contents of the XML syslog buffer, use the show logging xml command in privileged EXEC mode.
Syntax Description
Command Modes
Command History
Usage Guidelines
Examples
show logging xml
This command has no arguments or keywords.
Privileged EXEC
Release | Modification |
12.2(15)T | This command was introduced. |
|
|
12.2(28)SB | This command was integrated into Cisco IOS Release 12.2(28)SB. |
|
|
This command displays the same syslog state information as the standard show logging command, but displays the information in XML format. This command also displays the content of the XML syslog buffer (if
The following example compares the output of the standard show logging command with the output of the show logging xml command so that you can see how the standard information is formatted in XML.
Router# show logging
Syslog logging: enabled (10 messages dropped, 6 messages
Console logging: level debugging, 28 messages logged, xml enabled
Monitor logging: level debugging, 0 messages logged, xml enabled
Buffer logging: level debugging, 2 messages logged, xml enabled (2 messages logged) Logging Exception size (8192 bytes)
Count and timestamp logging messages: disabled
Trap logging: level informational, 35 message lines logged Logging to 10.2.3.4, 1 message lines logged, xml disabled Logging to 192.168.2.1, 1 message lines logged, xml enabled
Log Buffer (8192 bytes):
00:04:20:
00:04:41:
Router# show logging xml
| Cisco IOS Configuration Fundamentals Command Reference |
| July 2008 |