tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_serialize_ajp.c
Date Sat, 02 Mar 2002 06:10:49 GMT
costin      02/03/01 22:10:49

  Modified:    jk/native2/common jk_serialize_ajp.c
  Log:
  Reduce debugging, the header marshaling seems to work now.
  
  Revision  Changes    Path
  1.8       +11 -11    jakarta-tomcat-connectors/jk/native2/common/jk_serialize_ajp.c
  
  Index: jk_serialize_ajp.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_serialize_ajp.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- jk_serialize_ajp.c	28 Feb 2002 23:29:13 -0000	1.7
  +++ jk_serialize_ajp.c	2 Mar 2002 06:10:49 -0000	1.8
  @@ -208,30 +208,30 @@
           char *name=s->headers_in->nameAt(env, s->headers_in, i);
   
           if (jk2_requtil_getHeaderId(env, name, &sc)) {
  -            env->l->jkLog(env, env->l, JK_LOG_DEBUG,
  -                          "handle.request() Add headerId %s %d\n", name, sc);
  +            /*  env->l->jkLog(env, env->l, JK_LOG_INFO, */
  +            /*                "serialize.request() Add headerId %s %d\n", name, sc); */
               if (msg->appendInt(env, msg, sc)) {
                   env->l->jkLog(env, env->l, JK_LOG_ERROR,
  -                              "handle.request() Error serializing header id\n");
  +                              "serialize.request() Error serializing header id\n");
                   return JK_FALSE;
               }
           } else {
  -            env->l->jkLog(env, env->l, JK_LOG_DEBUG,
  -                          "handle.request() Add headerName %s\n", name);
  +            env->l->jkLog(env, env->l, JK_LOG_INFO,
  +                          "serialize.request() Add headerName %s\n", name);
               if (msg->appendString(env, msg, name)) {
                   env->l->jkLog(env, env->l, JK_LOG_ERROR,
  -                              "handle.request() Error serializing header name\n");
  +                              "serialize.request() Error serializing header name\n");
                   return JK_FALSE;
               }
           }
           
  -        env->l->jkLog(env, env->l, JK_LOG_DEBUG,
  -                      "handle.request() Add headerValue %s\n",
  -                      s->headers_in->valueAt( env, s->headers_in, i));
  +        /*  env->l->jkLog(env, env->l, JK_LOG_INFO, */
  +        /*                "serialize.request() Add headerValue %s\n", */
  +        /*                 s->headers_in->valueAt( env, s->headers_in, i)); */
           if (msg->appendString(env, msg,
                                 s->headers_in->valueAt( env, s->headers_in, i)))
{
               env->l->jkLog(env, env->l, JK_LOG_ERROR,
  -                          "handle.request() Error serializing header value\n");
  +                          "serialize.request() Error serializing header value\n");
               return JK_FALSE;
           }
       }
  @@ -240,7 +240,7 @@
           if (msg->appendByte(env, msg, SC_A_REMOTE_USER) ||
               msg->appendString(env, msg, s->remote_user)) {
               env->l->jkLog(env, env->l, JK_LOG_ERROR,
  -                          "handle.request() Error serializing user name\n");
  +                          "serialize.request() Error serializing user name\n");
               return JK_FALSE;
           }
       }
  
  
  

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


Mime
View raw message