NAME
postlog - Postfix-compatible logging utility
SYNOPSIS
ppoossttlloogg [-iivv] [-cc configdir]
[-pp priority]] [[-tt tag] [text...]
DESCRIPTION
The ppoossttlloogg command implements a Postfix-compatible logging interface
for use in, for example, shell scripts. By default, ppoossttlloogg logs the text given on the command line as one record. If no text is specified on the command line, ppoossttlloogg reads from standard input and logs each input line as one record.Logging is sent to ssyyssllooggdd(8); when the standard error stream is con-
nected to a terminal, logging is sent there as well. The following options are implemented:-cc configdir
Read the mmaaiinn..ccff configuration file in the named directory instead of the default configuration directory.-ii Include the process ID in the logging tag.
-pp priority
Specifies the logging severity: iinnffoo (default), wwaarrnn, eerrrroorr, ffaattaall, or ppaanniicc.-tt tag Specifies the logging tag, that is, the identifying name that
appears at the beginning of each logging record. A default tag is used when none is specified.-vv Enable verbose logging for debugging purposes. Multiple -vv
options make the software increasingly verbose. ENVIRONMENT MAILCONFIG Directory with the mmaaiinn..ccff file. CCOONNFFIIGGUURRAATTIIOONN PPAARRAAMMEETTEERRSSThe following mmaaiinn..ccff parameters are especially relevant to this pro-
gram. The text below provides only a parameter summary. See postconf(5) for more details including examples.ccoonnffiiggddiirreeccttoorryy ((sseeee ''ppoossttccoonnff -dd'' oouuttppuutt))
The default location of the Postfix main.cf and master.cf con-
figuration files. ssyyssllooggffaacciilliittyy ((mmaaiill)) The syslog facility of Postfix logging. ssyyssllooggnnaammee ((ppoossttffiixx)) The mail system name that is prepended to the process name insyslog records, so that "smtpd" becomes, for example, "post-
fix/smtpd".SEE ALSO
postconf(5), configuration parameters syslogd(8), syslog daemon LLIICCEENNSSEE The Secure Mailer license must be distributed with this software. AUTHOR(S) Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA POSTLOG(1)