2.3.4 Setting the system log
To output to the system log, you must make OS system log settings for outputting the following facilities.
Name |
Value of /etc/syslog.conf |
Macro value |
Remarks |
---|---|---|---|
System daemon |
daemon |
LOG_DAEMON |
-- |
User process |
user |
LOG_USER |
Enable this facility in order to output system logs for the ftsstop and ftslogstop commands. |
- Legend:
-
--: Not applicable
The following figure shows an example of a typical system log specification (/etc/syslog.conf file):
This example outputs to the /var/syslog file all messages whose priority (level) is a notification message or higher for all facilities.
For details, see the information for such items as syslog, syslogd, and syslog.conf in the OS documentation.