configure log target format
ExtremeWare XOS 11.5 supports only the Summit X450 family of switches and the BlackDiamond 8800 series switch.
ExtremeWare XOS 11.5 Command Reference Guide
585
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, 2005” would be output:
●
Mmm-dd
—Mar 26
●
mm-dd-yyyy
—03/26/2005
●
dd-mm-yyyy
—26-03-2005
●
yyyy-mm-dd
—2005-03-26
●
dd-Mmm-yyyy
—26-Mar-2005
Dates are suppressed altogether by specifying
none
. Dates are displayed as
mm-dd-yyyy
by default.
Severity.
A four-letter abbreviation of the severity of the event can be output by specifying
severity
on
or suppressed by specifying
severity off
. The default setting is
severity on
. The abbreviations
are: Crit, Erro, Warn, Noti, Info, Summ, Verb, and Data. These correspond to: Critical, Error, Warning,
Notice, Informational, Debug-Summary, Debug-Verbose, and Debug-Data.
Event Names.
Event names can be output as the component name only by specifying e
vent-name
component
and as component and subcomponent name with condition mnemonic by specifying
event-
name condition
, or suppressed by specifying
event-name none
. The default setting is
event-name
condition
to specify the complete name of the events.
Host Name.
The configured SNMP name of the switch can be output as
HOSTNAME
described in RFC
3164 by specifying
host-name
. The default setting is off.
Process Name.
For providing detailed information to technical support, the (internal) ExtremeWare XOS
task names of the applications detecting the events can be displayed by specifying process-name. The
default setting is off.
Process Slot.
For providing detailed information to technical support, the slot from which the logged
message was generated can be displayed by specifying
process-slot
. The default setting is off. This is
available only on modular switches.
Process ID.
For providing detailed information to technical support, the (internal) ExtremeWare XOS
task identifiers of the applications detecting the events can be displayed by specifying process-id. The
default setting is off.
Source Line.
For providing detailed information to technical support, the application source file names
and line numbers detecting the events can be displayed by specifying
source-line
. The default setting
is off. You must enable debug mode using the
enable log debug-mode
command to view the source
line information. For messages generated prior to enabling debug mode, the source line information is
not displayed.