LOGGER(1)

# # 5799-WZQ (C) COPYRIGHT = NONE # LICENSED MATERIALS - PROPERTY OF IBM # # $Header:logger.1 12.0$ # $ACIS:logger.1 12.0$ # $Source: /ibm/acis/usr/src/usr.lib/sendmail/aux/RCS/logger.1,v $

NAME
logger — make entries in the system log

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

ARGUMENTS

-ttag
    Mark every line in the log with the specified tag.

-ppri
    Enter the message with the specified priority.

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

-ffile
    Log the specified file.

message
    The message to log; if not specified, the -f file or standard input is logged.

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

A message can be given on the command line, which is logged immediately, or a file is read and each line is logged.

EXAMPLES
logger System rebooted

logger -t HOSTIDM -f /dev/idmc

SEE ALSO
syslog(3), syslog(8)