HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
syslogd(1M) syslogd(1M)
field containing an asterisk. The level none can be used to disable a particular facility. For example,
*.debug;mail.none
selects all messages except mail messages.
The second part of each line describes where the message is to be logged if this line is selected. There are
four forms:
A file name (beginning with a leading slash). The file is opened in append mode. If the file does
not exist, it is created.
A host name preceded by an @ character. Selected messages are forwarded to the syslogd on
the named host.
A comma-separated list of users. Selected messages are written to those users’ terminals if they
are logged in.
An asterisk. Selected messages are written to the terminals of all logged-in users.
Blank lines and lines beginning with a # character are ignored.
For example, the configuration file:
kern,mark.debug /dev/console
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root,eric,kridle
*.emerg *
*.emerg @admin
logs all kernel messages and 20 minute marks onto the system console, all mail system messages to
/var/adm/syslog/mail.log
, and all messages at info and above, except mail messages, to the file
/var/adm/syslog/syslog.log
. Messages at alert and above are logged to the console and to the
users
root, eric, and kridle if they are logged in. emerg messages are written to all logged-in users’
terminals, and forwarded to the host admin.
Only a superuser can invoke syslogd.
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.
DEPENDENCIES
Series 700
Kernel logging through the special log device /dev/klog is not supported.
The -D option is not supported.
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
Section 1M956 2 HP-UX Release 11i: December 2000
___
___