10
10
postlog - Postfix-compatible logging utility
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>]
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>]
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
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.
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.
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.
29
26
The following options are implemented:
31
28
<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
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.
36
32
<b>-i</b> Include the process ID in the logging tag.
38
34
<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-
47
<b>-v</b> Enable verbose logging for debugging purposes. Mul-
48
tiple <b>-v</b> options make the software increasingly
35
Specifies the logging severity: <b>info</b> (default), <b>warn</b>, <b>error</b>,
36
<b>fatal</b>, or <b>panic</b>.
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.
42
<b>-v</b> Enable verbose logging for debugging purposes. Multiple <b>-v</b>
43
options make the software increasingly verbose.
53
47
Directory with the <a href="postconf.5.html"><b>main.cf</b></a> file.
55
49
<b>CONFIGURATION PARAMETERS</b>
56
The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant
50
The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant to this pro-
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.
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.
62
56
<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.
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-
66
60
<b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b>
67
61
The syslog facility of Postfix logging.
69
63
<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".
64
The mail system name that is prepended to the process name in
65
syslog records, so that "smtpd" becomes, for example, "post-
75
69
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
76
70
syslogd(8), syslog daemon
79
The Secure Mailer license must be distributed with this
73
The Secure Mailer license must be distributed with this software.