[vhffs-dev] [2170] improved documentation in pure-ftpd altlog syslog patch |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 2170
Author: gradator
Date: 2012-05-02 23:46:41 +0200 (Wed, 02 May 2012)
Log Message:
-----------
improved documentation in pure-ftpd altlog syslog patch
Modified Paths:
--------------
trunk/vhffs-patches/pureftpd/pure-ftpd-1.0.35-altlog-syslog.patch
Modified: trunk/vhffs-patches/pureftpd/pure-ftpd-1.0.35-altlog-syslog.patch
===================================================================
--- trunk/vhffs-patches/pureftpd/pure-ftpd-1.0.35-altlog-syslog.patch 2012-05-02 21:32:49 UTC (rev 2169)
+++ trunk/vhffs-patches/pureftpd/pure-ftpd-1.0.35-altlog-syslog.patch 2012-05-02 21:46:41 UTC (rev 2170)
@@ -1,18 +1,12 @@
diff -Nru a/man/pure-ftpd.8.in b/man/pure-ftpd.8.in
--- a/man/pure-ftpd.8.in 2011-10-31 00:37:10.000000000 +0000
-+++ b/man/pure-ftpd.8.in 2012-05-02 21:25:54.404381576 +0000
-@@ -369,6 +369,7 @@
- .IR pure\-uploadscript .
- .TP
- .B \-O format:log file
-+.B \-O format:syslog,facility
- Record all file transfers into a specific log
- file, in an alternative format. Currently, three formats are supported : CLF,
- Stats, W3C and xferlog.
-@@ -401,6 +402,17 @@
- For security purposes, the path must be absolute
++++ b/man/pure-ftpd.8.in 2012-05-02 21:45:28.099915133 +0000
+@@ -402,6 +402,20 @@
(eg.
\fB/var/log/pureftpd.log\fR, not \fB ../log/pureftpd.log\fR).
+ .TP
++.B \-O format:syslog,facility
++Send all file transfers to syslog.
+.br
+If you add
+.br
@@ -24,9 +18,10 @@
+.I Facility is optional and
+defaults to
+.BR ftp .
- .TP
++.TP
.B \-p first:last
Use only ports in the range \fIfirst\fR to \fIlast\fR
+ inclusive for passive\-mode downloads. This means that clients will
diff -Nru a/src/altlog.c b/src/altlog.c
--- a/src/altlog.c 2011-10-30 20:58:07.000000000 +0000
+++ b/src/altlog.c 2012-05-02 21:16:08.688137804 +0000