tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_lb_worker.c
Date Tue, 20 Jul 2004 14:56:40 GMT
hgomez      2004/07/20 07:56:40

  Modified:    jk/native/common jk_lb_worker.c
  Log:
  More debug infos around LB.
  
  Revision  Changes    Path
  1.21      +8 -1      jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c
  
  Index: jk_lb_worker.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- jk_lb_worker.c	15 Jul 2004 07:04:15 -0000	1.20
  +++ jk_lb_worker.c	20 Jul 2004 14:56:40 -0000	1.21
  @@ -296,6 +296,9 @@
           jk_b_set_buffer_size(s->reco_buf, DEF_BUFFER_SZ);
           jk_b_reset(s->reco_buf);
           s->reco_status = RECO_INITED;                                              
                                                                                 
  +        jk_log(l, JK_LOG_DEBUG, "Into jk_endpoint_t::service sticky_session=%d\n", 
  +               p->worker->sticky_session);
  +
           while(1) {
               worker_record_t *rec = get_most_suitable_worker(p->worker, s, attempt++);
               int rc;
  @@ -306,6 +309,10 @@
                   s->jvm_route = jk_pool_strdup(s->pool,  rec->name);
   
                   rc = rec->w->get_endpoint(rec->w, &end, l);
  +
  +                jk_log(l, JK_LOG_DEBUG, "Into jk_endpoint_t::service worker=%s jvm_route=%s
rc=%d\n", 
  +                       rec->name, s->jvm_route, rc);
  +
                   if(rc && end) {
                       int src = end->service(end, s, l, &is_recoverable);
                       end->done(&end, l);
  
  
  

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


Mime
View raw message