Specifications
configure log target format
ExtremeWare XOS 10.1 Command Reference Guide 253
configure log target format
configure log target [console | memory-buffer | nvram | session | syslog
[all | <ipaddress> local0 ... local7]]]
format [timestamp [seconds | hundredths | none]
| date [dd-mm-yyyy | dd-Mmm-yyyy | mm-dd-yyyy | Mmm-dd | yyyy-mm-dd | none]
| severity
| event-name [component | condition | none | subcomponent]
| priority
| process-name
| process-slot
| source-line
Description
Configures the formats of the items that comprise a message, on a per-target basis.
Syntax Description
Default
The following defaults apply to console display, memory buffer, NVRAM, and session targets:
• timestamp—hundredths
• date—mm-dd-yyyy
• severity—on
• event-name—condition
• priority—off
• process-name—off
console Specifies the console display.
memory-buffer Specifies the switch memory buffer.
nvram Specifies the switch NVRAM.
session Specifies the current session (including console display).
syslog Specifies a syslog target.
all Specifies all remote syslog servers.
ipaddress Specifies the syslog IP address.
local0 ... local7 Specifies the local syslog facility.
timestamp Specifies a timestamp formatted to display seconds, hundredths, or none.
date Specifies a date formatted as specified, or none.
severity Specifies whether to include the severity.
event-name Specifies how detailed the event description will be. Choose from none,
component, subcomponent, or condition.
priority Specifies whether to include the priority.
process-name Specifies whether to include the internal process name.
process-slot Specifies which slot number the message was generated.
source-line Specifies whether to include the source file name and line number.