Saving Event Messages on a Logging Server
You can configure the software to save event messages on a host that you have configured as a system logging server. You can also specify the facility for system logging and the format in which the messages will be saved on the host.
To use SDX Configuration Editor to configure the software to save event messages in text files:
- In the navigation pane, select the component for which you want to configure logging to a system logging server.
- Select the Logging tab. (For NIC components, select the Hosts tab.)
The following example shows the system logging configuration fields.
![]()
Each logging configuration can have multiple instances, with each instance sending different types of logs to different system logging servers.
The Create a New Instance dialog box appears.
The instance appears in the Logging or Hosts pane.
In the filter field of each type of log, you can specify an expression that defines the categories and severity levels of event messages that the software saves.
- Select File >Save.
- Right-click the configuration file, and select SDX System Configuration > Export to LDAP Directory.
System Logging Fields
In SDX Configuration Editor, you can modify the following fields in a system logger section of the Logging pane in a configuration file to configure logging to a system log file.
Filter
- Disables or enables and specifies a filter that determines the type of messages that this log file contains.
- Value—<Filter>
For information about defining filters, see Chapter 2, Configuring Logging for SRC Components.
Syslog Host
- IP address or name of a host that collects event messages by means of a standard system logging daemon.
- Value—IP address or text string
- Default—loghost
Syslog facility
- Type of system log in accordance with the system logging protocol.
- Value—Integer in the range 0-23; each integer corresponds to the standard number for a system logging client
- Default—3
Format
- Specifies how the information in an event message is printed.
- Value—MessageFormat string as specified in
http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.htmlThe fields available for events are:
- 0—Time and date of the event
- 1—Name of the thread generating the event
- 2—Text message of the event
- 3—Category of the event
- 4—Priority of the event.
- Default—None
- Example for text files—{0,time,HH:mm:ss.SSS z} {0,date,dd.MM.yyyy} [{1}] [{3}] [{4}] {2}
A sample message for the sample setting is:
14:13:24.366 EST 19.01.2004 [main] [Start-up module] [20] SAE STARTUP DONEBecause the system log system usually timestamps all log messages, no time information is included in the default format. A sample message for the sample setting is:
SSP[main] [Start-up module] [20] SAE STARTUP DONE