Specifications
254 ExtremeWare XOS 10.1 Command Reference Guide
Commands for Status Monitoring and Statistics
• 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
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
Dates are suppressed altogether by specifying none. Dates are displayed as mm-dd-yyyy by default.