postlog.1.html revision 1.1.1.2
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>
7POSTLOG(1)                                                          POSTLOG(1)
8
9<b>NAME</b>
10       postlog - Postfix-compatible logging utility
11
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>] [<i>text...</i>]
14
15<b>DESCRIPTION</b>
16       The  <a href="postlog.1.html"><b>postlog</b>(1)</a>  command implements a Postfix-compatible logging inter-
17       face for use in, for example, shell scripts.
18
19       By default, <a href="postlog.1.html"><b>postlog</b>(1)</a> logs the <i>text</i> given on the command line  as  one
20       record.  If  no <i>text</i> is specified on the command line, <a href="postlog.1.html"><b>postlog</b>(1)</a> reads
21       from standard input and logs each input line as one record.
22
23       Logging is sent to <b>syslogd</b>(8); when the standard error stream  is  con-
24       nected to a terminal, logging is sent there as well.
25
26       The following options are implemented:
27
28       <b>-c</b> <i>config</i><b>_</b><i>dir</i>
29              Read  the  <a href="postconf.5.html"><b>main.cf</b></a>  configuration  file  in  the named directory
30              instead of the default configuration directory.
31
32       <b>-i</b>     Include the process ID in the logging tag.
33
34       <b>-p</b> <i>priority</i>
35              Specifies the logging severity:  <b>info</b>  (default),  <b>warn</b>,  <b>error</b>,
36              <b>fatal</b>, or <b>panic</b>.
37
38       <b>-t</b> <i>tag</i> Specifies  the  logging  tag, that is, the identifying name that
39              appears at the beginning of each logging record. A  default  tag
40              is used when none is specified.
41
42       <b>-v</b>     Enable  verbose  logging  for  debugging  purposes.  Multiple <b>-v</b>
43              options make the software increasingly verbose.
44
45<b>ENVIRONMENT</b>
46       MAIL_CONFIG
47              Directory with the <a href="postconf.5.html"><b>main.cf</b></a> file.
48
49<b>CONFIGURATION PARAMETERS</b>
50       The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant to  this  pro-
51       gram.
52
53       The  text  below provides only a parameter summary. See <a href="postconf.5.html"><b>postconf</b>(5)</a> for
54       more details including examples.
55
56       <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
57              The default location of the Postfix <a href="postconf.5.html">main.cf</a> and  <a href="master.5.html">master.cf</a>  con-
58              figuration files.
59
60       <b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b>
61              The syslog facility of Postfix logging.
62
63       <b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b>
64              The  mail  system  name that is prepended to the process name in
65              syslog records, so that "smtpd"  becomes,  for  example,  "post-
66              fix/smtpd".
67
68<b>SEE ALSO</b>
69       <a href="postconf.5.html">postconf(5)</a>, configuration parameters
70       syslogd(8), syslog daemon
71
72<b>LICENSE</b>
73       The Secure Mailer license must be distributed with this software.
74
75<b>AUTHOR(S)</b>
76       Wietse Venema
77       IBM T.J. Watson Research
78       P.O. Box 704
79       Yorktown Heights, NY 10598, USA
80
81                                                                    POSTLOG(1)
82</pre> </body> </html>
83