| manpages.info - online man pages | ![]() |
|||
|
syslogd (8) Table of Contents
Namesyslogd - log systems messages
Synopsissyslogd [-d] [-f config_file] [-m mark_interval] [-p log_socket] [-u]
DescriptionSyslogd reads and logs messages to the system console, log files, other machines and/or users as specified by its configuration file. The options are as follows:
Syslogd reads its configuration file when it starts up and whenever it receives a hangup signal. For information on the format of the configuration file, see syslog.conf(5) .
Syslogd opens an Internet domain socket as specified in /etc/services. Normally syslogd will only use this socket to send messages outwards, but in `insecure'' mode it will also read messages from this socket. Syslogd also opens and reads messages from the UNIX domain socket /dev/log, and from the special device /dev/klog (to read kernel messages).
Syslogd creates the file /var/run/syslog.pid, and stores its process id there. This can be used to kill or reconfigure syslogd.
The message sent to syslogd should consist of a single line. The message can contain a priority code, which should be a preceding decimal number in angle braces, for example, `<5.>' This priority code should map into the priorities defined in the include file <sys/syslog.h>.
Files
See Alsologger(1) , syslog(3) , services(5) , syslog.conf(5)
HistoryThe syslogd command appeared in 4.3BSD.
|