All Solutions Enabler daemons use a consistent infrastructure for logging events, which you can customize using the general logging options in the
daemon_options file (Table 1). In addition, the
daemon_options file also includes daemon-specific options that allow you to further customize logging for a particular daemon (for example,
storevntd and
storsrvd).
By default, each daemon records its log data in a pair of files (daemon_name.log0 and
daemon_name.log1) in the Solutions Enabler logging directory. Using this method, the daemons will alternate logging from one file to the other as they become full.
Optionally, you can configure each daemon to record its logs to a dated log file in the form
daemon_name-yyyymmdd.log. Using this method, each daemon will begin recording to a newly dated log file on the first write after 12 A.M.
Table 1 shows the general logging configuration options you can use to customize the Solutions Enabler daemon log files. For details on the syntax and values, refer to the
<SYMAPI_HOME>/config/daemon_options file installed in the configuration directory.
Table 1. General logging configuration options in the daemon_options fileGeneral logging configuration options in the daemon_options file
Option
Description
logfile_type
Controls file switching strategy. Possible values are WRAP or DATED.
logfile_size
Used for wrapping log files, this option specifies the maximum number of KBs to write before a switch to the other file of the pair.
logfile_retention
Used for dated log files, this option indicates how many days to retain old log files.
logfile_perms
Specifies the permissions on any newly created log files.