tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r440641 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
Date Wed, 06 Sep 2006 07:23:42 GMT
Author: mturk
Date: Wed Sep  6 00:23:42 2006
New Revision: 440641

URL: http://svn.apache.org/viewvc?view=rev&rev=440641
Log:
Fix wrong position of log vars.

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c?view=diff&rev=440641&r1=440640&r2=440641
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Wed Sep  6 00:23:42 2006
@@ -1750,8 +1750,8 @@
                 *is_error = JK_HTTP_SERVER_ERROR;
                 jk_log(l, JK_LOG_ERROR,
                        "(%s) sending request to tomcat failed "
-                       "without recovery in send loop %d", i,
-                       p->worker->name);
+                       "without recovery in send loop %d",
+                       p->worker->name, i);
                 JK_TRACE_EXIT(l);
                 return JK_FALSE;
             }
@@ -1776,7 +1776,7 @@
                        "(%s) request failed, "
                        "because of client error "
                        "without recovery in send loop attempt=%d",
-                       i, p->worker->name);
+                       p->worker->name, i);
                 JK_TRACE_EXIT(l);
                 return JK_CLIENT_ERROR;
             }
@@ -1786,7 +1786,7 @@
                        "(%s) request failed, "
                        "because of client error "
                        "without recovery in send loop attempt=%d",
-                       i, p->worker->name);
+                       p->worker->name, i);
                 JK_TRACE_EXIT(l);
                 return JK_SERVER_ERROR;
             }
@@ -1801,14 +1801,14 @@
                     jk_log(l, JK_LOG_ERROR,
                            "(%s) receiving reply from tomcat failed "
                            "without recovery in send loop attempt=%d",
-                           i, p->worker->name);
+                           p->worker->name, i);
                     JK_TRACE_EXIT(l);
                     return JK_FALSE;
                 }
                 jk_log(l, JK_LOG_INFO,
                        "(%s) receiving from tomcat failed, "
-                       "recoverable operation attempt=%d", i,
-                       p->worker->name);
+                       "recoverable operation attempt=%d",
+                       p->worker->name, i);
                 /* Check for custom retries */
                 if (i >= JK_RETRIES) {
                     jk_sleep(JK_SLEEP_DEF);
@@ -1825,7 +1825,7 @@
                    "(%s) sending request to tomcat failed, "
                    "because of client error "
                    "without recovery in send loop attempt=%d",
-                   i, p->worker->name);
+                   p->worker->name, i);
             JK_TRACE_EXIT(l);
             return JK_CLIENT_ERROR;
         }
@@ -1833,7 +1833,7 @@
             jk_log(l, JK_LOG_INFO,
                    "(%s) sending request to tomcat failed,  "
                    "recoverable operation attempt=%d",
-                   i + 1, p->worker->name);
+                   p->worker->name, i + 1);
         }
         /* Get another connection from the pool and try again.
          * Note: All sockets are probably closed already.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message