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/10/09 20:17:24 UTC

svn commit: r583252 - /httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c

Author: wrowe
Date: Tue Oct  9 11:17:24 2007
New Revision: 583252

URL: http://svn.apache.org/viewvc?rev=583252&view=rev
Log:
Reduce the noise level in the log once a client 'goes away', there
is no need for this many reiterations of the same essential error.

Modified:
    httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c?rev=583252&r1=583251&r2=583252&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c Tue Oct  9 11:17:24 2007
@@ -71,7 +71,7 @@
     rv = apr_socket_timeout_set(client_socket, cdata->base_server->timeout);
 
     if (rv != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, cdata->base_server,
+        ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, cdata->base_server,
                      "Failed to set socket timeout");
     }
 
@@ -81,7 +81,7 @@
     apr_brigade_destroy(bb);
 
     if (rv != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, cdata->base_server,
+        ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, cdata->base_server,
                      "Failed to initialize the ftp ssl data stream");
     }
     
@@ -189,7 +189,7 @@
             /* Error initializing the connection, most likely from a
              * client attempting to connect w/o SSL.  Just drop the 
              * connection */
-            ap_log_error(APLOG_MARK, APLOG_ERR, rv, c->base_server,
+            ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server,
                          "Error initializing SSL connection.  Client "
                          "connecting without SSL?");
             return OK;
@@ -212,7 +212,7 @@
 
     rv = ftp_send_welcome(fc);
     if (rv != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, c->base_server,
+        ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server,
                      "Error sending server welcome string");
         return OK;
     }
@@ -225,7 +225,7 @@
     rv = apr_socket_timeout_set(client_socket,
                           fsc->timeout_login * APR_USEC_PER_SEC);
     if (rv != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, c->base_server,
+        ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, c->base_server,
                      "Couldn't set SO_TIMEOUT socket option");
     }
 
@@ -243,7 +243,7 @@
             rv = apr_socket_timeout_set(client_socket,
                                   fsc->timeout_idle * APR_USEC_PER_SEC);
             if (rv != APR_SUCCESS) {
-                ap_log_error(APLOG_MARK, APLOG_ERR, rv, c->base_server,
+                ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, c->base_server,
                              "Couldn't set socket timeout");
             }
             idle_timeout_set = 1;