You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/12/21 22:37:23 UTC

svn commit: r606327 - /httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf

Author: wrowe
Date: Fri Dec 21 13:37:23 2007
New Revision: 606327

URL: http://svn.apache.org/viewvc?rev=606327&view=rev
Log:
Correct a misquoted logfile name, and move the log formats outside of
this one specific vhost, since they may be recycled for many hosts.

Modified:
    httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf

Modified: httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf?rev=606327&r1=606326&r2=606327&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf (original)
+++ httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf Fri Dec 21 13:37:23 2007
@@ -5,6 +5,40 @@
 #@@LoadFtpModules@@
 
 #########################################################################
+# Define the formats for the command log and transfer log
+#########################################################################
+#
+# The command log has the format "user [x.x.x.x] command"
+# For example: "anonymous [127.0.0.1] CWD /incoming"
+#
+LogFormat    "%u [%a] %r" command_log_fmt
+
+#
+# The transfer log
+#
+LogFormat    "%{%b %e %H:%M:%S %Y}t %T %a %B %U %M %F %d %W %u %S %Z %Y" transfer_log_fmt
+#             1                     2  3  4  5  6  7  8  9  10 11 12 13
+#
+# What this actually means:
+# 1 current time in the form DDD MMM dd hh:mm:ss YYYY
+# 2 transfer time in seconds (could do milliseconds, but wu-ftp uses seconds)
+# 3 remote host name
+# 4 file size in bytes
+# 5 name of file
+# 6 transfer type (a=ascii b=binary)
+# 7 special action flags (concatenated as needed)
+#                        C - file was compressed
+#                        U - file was uncompressed
+#                        T - file was tarred
+#                        _ - no action taken
+# 8 file was sent to user (o=outgoing i=incoming)
+# 9 accessed anonymously (r=real a=anonymous, g=guest)
+# 10 username
+# 11 service name ('ftp', other)
+# 12 authentication method (bitmask) (0=none 1=rfc931 auth)
+# 13 authenticated user id (if available, '*' otherwise)
+
+#########################################################################
 # Basic setup
 #########################################################################
 
@@ -137,42 +171,12 @@
 # Setup the error_log for this virtualhost.
 ErrorLog     "@rel_logfiledir@/ftp_error_log"
 
-# Define the formats for the command log and transfer log
-#
-# The command log has the format "user [x.x.x.x] command"
-# For example: "anonymous [127.0.0.1] CWD /incoming"
-# LogFormat    "%u [%a] %r" command_log_fmt
-#
-# The transfer log
-#
-# LogFormat    "%{%b %e %H:%M:%S %Y}t %T %a %B %U %M %F %d %W %u %S %Z %Y" transfer_log_fmt
-#               1                     2  3  4  5  6  7  8  9  10 11 12 13
-#
-# What this actually means:
-# 1 current time in the form DDD MMM dd hh:mm:ss YYYY
-# 2 transfer time in seconds (could do milliseconds, but wu-ftp uses seconds)
-# 3 remote host name
-# 4 file size in bytes
-# 5 name of file
-# 6 transfer type (a=ascii b=binary)
-# 7 special action flags (concatenated as needed)
-#                        C - file was compressed
-#                        U - file was uncompressed
-#                        T - file was tarred
-#                        _ - no action taken
-# 8 file was sent to user (o=outgoing i=incoming)
-# 9 accessed anonymously (r=real a=anonymous, g=guest)
-# 10 username
-# 11 service name ('ftp', other)
-# 12 authentication method (bitmask) (0=none 1=rfc931 auth)
-# 13 authenticated user id (if available, '*' otherwise)
-
 # Log the commands of users logged in anonymously.
 # SetEnvIf remote_user anonymous do_command_log
 # CustomLog "@rel_logfiledir@/ftp_command_log" command_log_fmt env=do_command_log
 #
 # Log the command of all users
-# CustomLog "@rel_logfiledir@/ftp_command_log command_log_fmt"
+# CustomLog "@rel_logfiledir@/ftp_command_log" command_log_fmt
 
 # The transfer log.
 #
@@ -185,9 +189,6 @@
 #
 # Adding SSL support to the FTP module is similar to adding support for
 # SSL to the HTTP module.
-
-# SSLLog      "@rel_logfiledir@/ssl_engine_log"
-# SSLLogLevel info
 
 # SSLEngine on
 # SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL