File: postlog.1.html

package info (click to toggle)
postfix 2.3.8-2%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 15,744 kB
  • ctags: 11,426
  • sloc: ansic: 81,810; makefile: 10,743; sh: 7,874; perl: 2,468; awk: 41
file content (89 lines) | stat: -rw-r--r-- 3,614 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title> Postfix manual - postlog(1) </title>
</head> <body> <pre>
POSTLOG(1)                                                          POSTLOG(1)

<b>NAME</b>
       postlog - Postfix-compatible logging utility

<b>SYNOPSIS</b>
       <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>]

<b>DESCRIPTION</b>
       The  <a href="postlog.1.html"><b>postlog</b>(1)</a>  command  implements  a Postfix-compatible
       logging interface for use in, for example, shell  scripts.

       By  default, <a href="postlog.1.html"><b>postlog</b>(1)</a> logs the <i>text</i> given on the command
       line as one record. If no <i>text</i> is specified on the command
       line,  <a href="postlog.1.html"><b>postlog</b>(1)</a>  reads from standard input and logs each
       input line as one record.

       Logging is sent to <b>syslogd</b>(8);  when  the  standard  error
       stream  is  connected to a terminal, logging is sent there
       as well.

       The following options are implemented:

       <b>-c</b> <i>config</i><b>_</b><i>dir</i>
              Read the <b>main.cf</b> configuration file  in  the  named
              directory  instead  of  the  default  configuration
              directory.

       <b>-i</b>     Include the process ID in the logging tag.

       <b>-p</b> <i>priority</i>
              Specifies the  logging  severity:  <b>info</b>  (default),
              <b>warn</b>, <b>error</b>, <b>fatal</b>, or <b>panic</b>.

       <b>-t</b> <i>tag</i> 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 speci-
              fied.

       <b>-v</b>     Enable verbose logging for debugging purposes. Mul-
              tiple  <b>-v</b>  options  make  the software increasingly
              verbose.

<b>ENVIRONMENT</b>
       MAIL_CONFIG
              Directory with the <b>main.cf</b> file.

<b>CONFIGURATION PARAMETERS</b>
       The following <b>main.cf</b> parameters are  especially  relevant
       to this program.

       The  text  below  provides  only  a parameter summary. See
       <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including examples.

       <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
              The default location of  the  Postfix  main.cf  and
              master.cf configuration files.

       <b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b>
              The syslog facility of Postfix logging.

       <b><a href="postconf.5.html#syslog_name">syslog_name</a> (postfix)</b>
              The  mail  system  name  that  is  prepended to the
              process name in syslog  records,  so  that  "smtpd"
              becomes, for example, "postfix/smtpd".

<b>SEE ALSO</b>
       <a href="postconf.5.html">postconf(5)</a>, configuration parameters
       syslogd(8), syslog daemon

<b>LICENSE</b>
       The  Secure  Mailer  license must be distributed with this
       software.

<b>AUTHOR(S)</b>
       Wietse Venema
       IBM T.J. Watson Research
       P.O. Box 704
       Yorktown Heights, NY 10598, USA

                                                                    POSTLOG(1)
</pre> </body> </html>