From: Jeff Trawick Date: Fri, 8 Apr 2011 19:37:41 +0000 (+0000) Subject: log message fixes/tweaks X-Git-Tag: 2.3.12~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdc6c0dde2564afdf90433935baac4b3f0f0ead1;p=thirdparty%2Fapache%2Fhttpd.git log message fixes/tweaks git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090412 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index 5ce1083bdf7..94368a54358 100644 --- a/server/mpm/winnt/child.c +++ b/server/mpm/winnt/child.c @@ -338,7 +338,7 @@ reinit: /* target of data or connect upon too many AcceptEx failures */ } ap_log_error(APLOG_MARK, APLOG_INFO, 0, ap_server_conf, - "Child: Accept thread listening on %s:%d using %s", + "Child: Accept thread listening on %s:%d using AcceptFilter %s", lr->bind_addr->hostname ? lr->bind_addr->hostname : "*", lr->bind_addr->port, accf_name); @@ -591,7 +591,7 @@ reinit: /* target of data or connect upon too many AcceptEx failures */ continue; } - /* A more serious error that 'retry', log it */ + /* A more serious error than 'retry', log it */ ap_log_error(APLOG_MARK, APLOG_WARNING, rv, ap_server_conf, "accept() failed."); diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index 47d3bf08e1d..038464bf689 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -431,7 +431,7 @@ static void get_listeners_from_parent(server_rec *s) if (!ReadFile(pipe, &WSAProtocolInfo, sizeof(WSAPROTOCOL_INFO), &BytesRead, (LPOVERLAPPED) NULL)) { ap_log_error(APLOG_MARK, APLOG_CRIT, apr_get_os_error(), ap_server_conf, - "setup_inherited_listeners: Unable to read socket data from parent"); + "Child: Unable to read socket data from parent"); exit(APEXIT_CHILDINIT); } @@ -439,13 +439,13 @@ static void get_listeners_from_parent(server_rec *s) &WSAProtocolInfo, 0, 0); if (nsd == INVALID_SOCKET) { ap_log_error(APLOG_MARK, APLOG_CRIT, apr_get_netos_error(), ap_server_conf, - "Child: setup_inherited_listeners(), WSASocket failed to open the inherited socket."); + "Child: WSASocket failed to open the inherited socket"); exit(APEXIT_CHILDINIT); } if (!SetHandleInformation((HANDLE)nsd, HANDLE_FLAG_INHERIT, 0)) { ap_log_error(APLOG_MARK, APLOG_ERR, apr_get_os_error(), ap_server_conf, - "set_listeners_noninheritable: SetHandleInformation failed."); + "Child: SetHandleInformation failed"); } apr_os_sock_put(&lr->sd, &nsd, s->process->pool); } @@ -755,13 +755,13 @@ static int master_main(server_rec *s, HANDLE shutdown_event, HANDLE restart_even if (rv == WAIT_FAILED) { /* Something serious is wrong */ ap_log_error(APLOG_MARK,APLOG_CRIT, apr_get_os_error(), ap_server_conf, - "master_main: WaitForMultipeObjects WAIT_FAILED -- doing server shutdown"); + "master_main: WaitForMultipleObjects WAIT_FAILED -- doing server shutdown"); shutdown_pending = 1; } else if (rv == WAIT_TIMEOUT) { /* Hey, this cannot happen */ ap_log_error(APLOG_MARK, APLOG_ERR, apr_get_os_error(), s, - "master_main: WaitForMultipeObjects with INFINITE wait exited with WAIT_TIMEOUT"); + "master_main: WaitForMultipleObjects with INFINITE wait exited with WAIT_TIMEOUT"); shutdown_pending = 1; } else if (cld == SHUTDOWN_HANDLE) {