Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

syslog(3)

syslog(8)

SYSLOG(1)  —  USER COMMANDS

NAME

syslog − make system log entry

SYNOPSIS

syslog [ −p ] [ −i name ] [ −level ] [ − ] [ message ... ]

DESCRIPTION

Syslog sends the specified message (or stdin if − is specified) as a system log entry to the syslog daemon.  The log entry is sent to the daemon on the machine specified by the loghost entry in the /etc/hosts file. 

OPTIONS

−p Syslog will log its process id in addition to the other information. 

−i name
The specified name will be used as the “ident” for the log entry.

−level The message will be logged at the specified level.  The level can be specified numerically, in the range 1 through 9, or symbolically using the names specified in the include file /usr/include/syslog.h (with the leading LOG_ stripped off).  “syslog -HELP” will list the valid symbolic level names.  Only the superuser can make log entries at levels less than or equal to SALERT. 

− Each line of the standard input is sent as a log entry. 

FILES

/usr/etc/in.syslogsyslog daemon
/usr/include/syslog.hfor names of logging levels

SEE ALSO

syslog(3), syslog(8)

Sun Release 3.2  —  Last change: 25 April 1983

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