configure log target format
ExtremeWare XOS 11.0 Command Reference Guide
323
•
process-name—off
•
process-slot—off
•
source-line—off
The following defaults apply to syslog targets (per RFC 3164):
•
timestamp—seconds
•
date—mmm-dd
•
severity—on
•
event-name—none
•
priority—on
•
process-name—off
•
process-slot—off
•
source-line—off
If a virtual router is not specified, VR-Mgmt is used.
Usage Guidelines
This command configures the format of the items that make up log messages. You can choose to include
or exclude items and set the format for those items, but you cannot vary the order in which the items
are assembled.
When applied to the targets
console
or
session
, the format specified is used for the messages sent to
the console display or telnet session. Configuration changes to the
session
target, be it either a telnet or
console display target session, are in effect only for the duration of the session, and are not saved in
FLASH.
When this command is applied to the target
memory-buffer
, the format specified is used in subsequent
show log
and
upload log
commands. The format configured for the internal memory buffer can be
overridden by specifying a format on the
show log
and
upload log
commands.
When this command is applied to the target
syslog
, the format specified is used for the messages sent
to the specified syslog host.
Timestamps.
Timestamps refer to the time an event occurred, and can be output in either seconds as
described in RFC 3164 (for example, “13:42:56”), hundredths of a second (for example, “13:42:56.98”), or
suppressed altogether. To display timestamps as hh:mm:ss, use the
seconds
keyword, to display as
hh:mm:ss.HH, use the
hundredths
keyword, or to suppress timestamps altogether, use the
none
keyword. Timestamps are displayed in hundredths by default.
Date.
The date an event occurred can be output as described in RFC 3164. Dates are output in different
formats, depending on the keyword chosen. The following lists the
date
keyword options, and how the
date “March 26, 2003” would be output:
•
Mmm-dd
—Mar 26
•
mm-dd-yyyy
—03/26/2003
•
dd-mm-yyyy
—26-03-2003
•
yyyy-mm-dd
—2003-03-26
•
dd-Mmm-yyyy
—26-Mar-2003
Summary of Contents for ExtremeWare XOS 11.0
Page 26: ...26 ExtremeWare XOS 11 0 Command Reference Guide Contents...
Page 176: ...176 ExtremeWare XOS 11 0 Command Reference Guide Commands for Managing the Switch...
Page 262: ...262 ExtremeWare XOS 11 0 Command Reference Guide VLAN Commands...
Page 280: ...280 ExtremeWare XOS 11 0 Command Reference Guide FDB Commands...
Page 492: ...492 ExtremeWare XOS 11 0 Command Reference Guide EAPS Commands...
Page 536: ...536 ExtremeWare XOS 11 0 Command Reference Guide STP Commands...
Page 580: ...580 ExtremeWare XOS 11 0 Command Reference Guide ESRP Commands...
Page 876: ...876 ExtremeWare XOS 11 0 Command Reference Guide BGP Commands...
Page 926: ...926 ExtremeWare XOS 11 0 Command Reference Guide IP Multicast Commands...