Name
sysklogd
Synopsis
syslogd [options
]
System administration command. sysklogd provides both syslogd and klogd functionality. By default, it is meant to behave exactly like the BSD version of syslogd. While the difference should be completely transparent to the user, sysklogd supports an extended syntax. It is invoked as syslogd.
sysklogd logs system messages into a set of files described by the configuration file /etc/syslog.conf. Each message is one line. A message can contain a priority code, marked by a number in angle brackets at the beginning of the line. Priorities are defined in <sys/syslog.h>. syslogd reads from an Internet domain socket specified in /etc/services. To bring syslogd down, send it a terminate signal. See also klogd. On some newer systems sysklogd is replaced by rsyslogd.
Options
- -a socket
Add socket to the list of sockets syslogd listens to.
- -d
Turn on debugging.
- -f configfile
Specify alternate configuration file.
- -h
Forward messages from remote hosts to forwarding hosts.
- -l hostlist
Specify hostnames that should be logged with just the hostname, not the fully qualified domain name. Multiple hosts should be separated by a colon (:).
- -m markinterval
Select number of minutes between mark messages.
- -n
Avoid auto-backgrounding. This is needed when starting syslogd from init.
- -p socket
Send log to socket instead of /dev/log.
- -r
Receive messages from the network using an internet domain socket with the syslog service.
- -s domainlist
Strip off domain names specified in domainlist before ...
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.