You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by gl...@apache.org on 2003/07/15 14:15:18 UTC

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c

glenn       2003/07/15 05:15:18

  Modified:    jk/native/common jk_ajp_common.c
  Log:
  Add worker name to tomcat connection failure error message
  
  Revision  Changes    Path
  1.37      +3 -3      jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
  
  Index: jk_ajp_common.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- jk_ajp_common.c	4 Apr 2003 13:27:43 -0000	1.36
  +++ jk_ajp_common.c	15 Jul 2003 12:15:17 -0000	1.37
  @@ -1317,8 +1317,8 @@
           /* Log the error only once per failed request. */
           jk_log(l, JK_LOG_ERROR,
                  "Error connecting to tomcat. Tomcat is probably not started "
  -               "or is listening on the wrong port. Failed errno = %d\n",
  -               errno);
  +               "or is listening on the wrong port. worker=%s failed errno = %d\n",
  +               p->worker->name, errno);
   
       } else {
           jk_log(l, JK_LOG_ERROR, "In jk_endpoint_t::service, NULL parameters\n");
  
  
  

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