configure log target format
ExtremeWare Software 7.3.0 Command Reference Guide 633
configure log target format
configure log target [console-display | memory-buffer | nvram | session |
syslog [<host name/ip> {:<udp-port>} [local0 ... local7]]]
format [timestamp [seconds | hundredths | none]
| date [dd-mm-yyyy | dd-Mmm-yyyy | mm-dd-yyyy | Mmm-dd | yyyy-mm-dd | none]
| severity [on | off]
| event-name [component | condition | none | subcomponent]
| host-name [on | off]
| priority [on | off]
| tag-id [on | off]
| tag-name [on | off]
| sequence-number [on | off]
| process-name [on | off]
| process-id [on | off]
| source-function [on | off]
| source-line [on | off]]
Description
Configures the formats of the items that comprise a message, on a per-target basis.
Syntax Description
console-display 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.
host name/ip Specifies the syslog host name or IP address.
udp-port Specifies the UDP port number for the syslog target.
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.
host-name Specifies whether to include the host name.
priority Specifies whether to include the priority
tag-id Specifies whether to include the internal task identifier.
tag-name Specifies whether to include the task name.
sequence-number Specifies whether to include the event sequence number.
process-name Specifies whether to include the internal process name.
process-id Specifies whether to include the internal process identifier.
source-function Specifies whether to include the source function name.
source-line Specifies whether to include the source file name and line number.