Specifications

140 ExtremeWare XOS 11.0 Concepts Guide
Status Monitoring and Statistics
Formatting Event Messages
Event messages are made up of a number of items. The individual items can be formatted; however,
EMS does not allow you to vary the order of the items. To format the messages for a particular target,
use the following command:
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
Using the default format for the session target, an example log message might appear as:
06/25/2004 22:49:10.63 <Info:dm.Info> MSM-A: PowerSupply:4 Powered On
If you set the current session format using the following command:
configure log target session format timestamp seconds date mm-dd-yyyy event-name
component
The same example would appear as:
06/25/2004 22:49:10 <dm> PowerSupply:4 Powered On
To provide some detailed information to technical support, set the current session format using the
following command:
configure log target session format timestamp hundredths date mmm-dd event-name
condition process-name source-line
The same example then appears as:
Jun 25 22:49:10.63 <dm.info> devmgr: (dm.c:134) PowerSupply:4 Powered On
Displaying Real-Time Log Messages
You can configure the system to maintain a running real-time display of log messages on the console
display or on a (Telnet) session. To turn on the log display on the console, use the following command:
enable log target console
This setting may be saved to the FLASH configuration and is restored on boot-up (to the console
display session).
To turn on log display for the current session:
enable log target session
This setting only affects the current session and is lost when you log off the session.
The messages that are displayed depend on the configuration and format of the target. For information
on message filtering, see “Filtering Events Sent to Targets” on page 133. for information on message
formatting, see “Formatting Event Messages” on page 140.