Saving Event Messages in Text Files
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 for text files.
- Select the Logging tab. (For NIC components, select the Hosts tab.)
The following example shows the file logging configuration fields.
![]()
Each logging configuration can have multiple instances, with each instance sending different types of logs to different files.
The Create a New Instance dialog box appears.
The instance appears in the Logging or Hosts pane.
See File Logging Fields.
- Select File >Save.
- Right-click the configuration file, and select SDX System Configuration > Export to LDAP Directory.
File Logging Fields
In SDX Configuration Editor, you can modify the following fields in a logger section of the Logging pane in a configuration file.
You can also modify the values in this section in a text file that contains logging properties for an SRC component.
Filter
- Disables or enables and specifies a filter that determines the type of messages that this log file contains.
- Value—<Filter>
See Deleting Logs and Process Files for SRC Components
Filename
- Absolute path of the filename that contains the current logs.
- Value—Text string
- Default—By default, SRC components and applications write log files in the folder where the application is started. However, the user under which the J2EE application server or Web application server runs may not have write access to this folder. For logging to work properly, configure the component or application to write logs in folders to which this user has write access. If you are using the version of JBoss packaged with the SRC software, add the absolute path /opt/UMC/jboss/server/default/log/ to the filenames and rollover filename for each log. For example, for the debug log, use the filename /opt/UMC/jboss/server/default/log/vta_debug.log.
- Example—/opt/UMC/jboss/server/default/log/
Rollover Filename
- Absolute path of the filename that contains the log history. When the log file reaches the maximum size, the software closes the log file and renames it with the name you specify for the rollover file. If a previous rollover file exists, the software overwrites it. The software then reopens the log file and continues to save event messages in it.
- Value—Text string
- Default—The default value is different for each type of component.
- Example—/opt/UMC/jboss/server/default/log/
Maximum File Size