autoupdate
[postfix-master.git] / postfix-master / postlog.1.html
blob1f428d0c1d9ff12a6eaacd6c41816184ebc3e709
1 <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html> <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
5 <title> Postfix manual - postlog(1) </title>
6 </head> <body> <pre>
7 POSTLOG(1) POSTLOG(1)
9 <b>NAME</b>
10 postlog - Postfix-compatible logging utility
12 <b>SYNOPSIS</b>
13 <b>postlog</b> [<b>-iv</b>] [<b>-c</b> <i>config</i><b>_</b><i>dir</i>] [<b>-p</b> <i>priority</i><b>] [-t</b> <i>tag</i>]
14 [<i>text...</i>]
16 <b>DESCRIPTION</b>
17 The <a href="postlog.1.html"><b>postlog</b>(1)</a> command implements a Postfix-compatible
18 logging interface for use in, for example, shell scripts.
20 By default, <a href="postlog.1.html"><b>postlog</b>(1)</a> logs the <i>text</i> given on the command
21 line as one record. If no <i>text</i> is specified on the command
22 line, <a href="postlog.1.html"><b>postlog</b>(1)</a> reads from standard input and logs each
23 input line as one record.
25 Logging is sent to <b>syslogd</b>(8); when the standard error
26 stream is connected to a terminal, logging is sent there
27 as well.
29 The following options are implemented:
31 <b>-c</b> <i>config</i><b>_</b><i>dir</i>
32 Read the <a href="postconf.5.html"><b>main.cf</b></a> configuration file in the named
33 directory instead of the default configuration
34 directory.
36 <b>-i</b> Include the process ID in the logging tag.
38 <b>-p</b> <i>priority</i>
39 Specifies the logging severity: <b>info</b> (default),
40 <b>warn</b>, <b>error</b>, <b>fatal</b>, or <b>panic</b>.
42 <b>-t</b> <i>tag</i> Specifies the logging tag, that is, the identifying
43 name that appears at the beginning of each logging
44 record. A default tag is used when none is speci-
45 fied.
47 <b>-v</b> Enable verbose logging for debugging purposes. Mul-
48 tiple <b>-v</b> options make the software increasingly
49 verbose.
51 <b>ENVIRONMENT</b>
52 MAIL_CONFIG
53 Directory with the <a href="postconf.5.html"><b>main.cf</b></a> file.
55 <b>CONFIGURATION PARAMETERS</b>
56 The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant
57 to this program.
59 The text below provides only a parameter summary. See
60 <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including examples.
62 <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
63 The default location of the Postfix <a href="postconf.5.html">main.cf</a> and
64 <a href="master.5.html">master.cf</a> configuration files.
66 <b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b>
67 The syslog facility of Postfix logging.
69 <b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b>
70 The mail system name that is prepended to the
71 process name in syslog records, so that "smtpd"
72 becomes, for example, "postfix/smtpd".
74 <b>SEE ALSO</b>
75 <a href="postconf.5.html">postconf(5)</a>, configuration parameters
76 syslogd(8), syslog daemon
78 <b>LICENSE</b>
79 The Secure Mailer license must be distributed with this
80 software.
82 <b>AUTHOR(S)</b>
83 Wietse Venema
84 IBM T.J. Watson Research
85 P.O. Box 704
86 Yorktown Heights, NY 10598, USA
88 POSTLOG(1)
89 </pre> </body> </html>