Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

syslog(3)

syslogd(8)



LOGGER(1-SysV)      RISC/os Reference Manual       LOGGER(1-SysV)



NAME
     logger - make entries in the system log

SYNOPSIS
     logger [ -t tag ] [ -p pri ] [ -i ] [ -f file ] [ -T [ -q ]
     ] [ message ... ]

ARGUMENTS
     -t tag      Mark every line in the log with the specified
                 tag.

     -p pri      Enter the message with the specified priority.
                 The priority may be specified numerically or as
                 a ``facility.level'' pair.  For example, ``-p
                 local3.info'' logs the message(s) as informa-
                 tional level in the local3 facility.  The
                 default is ``user.notice.''

     -i          Log the process id of the logger process with
                 each line.

     -f file     Log the specified file.

     -T          Send a test message of the form "hostname login-
                 name: facility.level" to each
                 ``facility.level''.

     -q          Used under the -T option to suppress complaints
                 about non-existent error logging facilities.

     message     The message to log; if not specified, and the -f
                 flag is not provided, standard input is logged.

DESCRIPTION
     logger provides a program interface to the syslog(3) system
     log module.

EXAMPLES
     logger System rebooted

     logger -p local0.notice -t HOSTIDM -f /dev/idmc

SEE ALSO
     syslog(3) in the Programmer's Reference Manual.
     syslogd(8) in the System Administrator's Reference Manual.

ORIGIN
     4.3 BSD







                         Printed 1/15/91                   Page 1



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