Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

logger(1)

syslog(3)

syslog.conf(4B)

log(7)

syslogd(1M)

NAME

syslogd − log system messages

SYNOPSIS

/usr/sbin/syslogd [ −d ] [ −f configfile ] [ −m markinterval ] [ −p path ]

AVAILABILITY

SUNWcsu

DESCRIPTION

syslogd reads and forwards system messages to the appropriate log files and/or users, depending upon the priority of a message and the system facility from which it originates.  The configuration file /etc/syslog.conf (see syslog.conf(4B)) controls where messages are forwarded.  syslogd logs a mark (timestamp) message every markinterval minutes (default 20) at priority LOG_INFO to the facility whose name is given as mark in the syslog.conf file. 

A system message consists of a single line of text, which may be prefixed with a priority code number enclosed in angle-brackets (<>); priorities are defined in <sys/syslog.h>. 

syslogd reads from the STREAMS log driver, /dev/log, and from any transport provider specified in /etc/netconfig, /etc/net/transport/hosts, and /etc/net/transport/services. 

syslogd reads the configuration file when it starts up, and again whenever it receives a HUP signal, at which time it also closes all files it has open, re-reads its configuration file, and then opens only the log files that are listed in that file.  syslogd exits when it receives a TERM signal. 

As it starts up, syslogd creates the file /etc/syslog.pid, if possible, containing its process identifier (PID). 

OPTIONS

−d Turn on debugging. 

−f configfile Specify an alternate configuration file. 

−m markinterval Specify an interval, in minutes, between mark messages. 

−p path Specify an alternative log device name.  The default is /dev/log. 

FILES

/etc/syslog.conf configuration file

/etc/syslog.pid process ID

/dev/log STREAMS log driver

/etc/netconfig specifies the transport providers available on the system

/etc/net/transport/hosts
network hosts for each transport

/etc/net/transport/services
network services for each transport

SEE ALSO

logger(1), syslog(3), syslog.conf(4B), log(7)

SunOS 5.1/x86  —  Last change: 14 Sep 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026