HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
syslogd(1M) syslogd(1M)
However, be careful when configuring
syslogd, so that messages from different locales do not get logged
to the same log file.
WARNINGS
A configuration file selector selects all messages at the specified level or higher. The configuration lines:
user.debug /tmp/logfile
user.info /tmp/logfile
cause the logfile to get two copies of all
user messages at level info and above.
Kernel panic messages are not sent to
syslogd
.
All HP-UX kernel messages are treated as if they had the
crit priority level.
If
syslogd is invoked with the -D
option and syslogd terminates abnormally, kernel messages will not
appear on the system console. In that case, reinvoke
syslogd without the -D option to enable the kernel
to send its messages to the system console.
syslogd does not support logging to named pipes. Therefore, if a named pipe is specified in the
configuration file, the behavior of
syslogd is undefined, and syslogd may lose messages if blocked or
terminated on a
SIGPIPE.
When NEWLINE_NO_TRUNCATE
and/or MULTIBYTE_ENABLE are enabled in
/etc/default/syslogd
, syslogd assumes that ASCII control characters do not form intermediate
bytes of the characters of a multibyte locale.
Whenever a change is made to
NEWLINE_NO_TRUNCATE
in /etc/default/syslogd, syslogd
and all the applications dependent on this feature should be restarted.
The features of NEWLINE_NO_TRUNCATE
and MULTIBYTE_ENABLE are applicable only to messages
passed as arguments to
syslog.
The selective enablement of NEWLINE_NO_TRUNCATE
may not be available in future releases.
AUTHOR
syslogd was developed by the University of California, Berkeley.
FILES
/dev/klog The kernel log device
/dev/log The named pipe on which syslogd reads log messages
/dev/log.un The UNIX domain socket on which syslogd reads log messages
/etc/syslog.conf
Configuration file
/etc/default/syslogd
Configuration file for syslogd tunables
/var/run/syslog.pid
Process ID
SEE ALSO
logger(1), syslog(3C).
546 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: December 2007 Update