You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by st...@apache.org on 2003/09/18 09:51:29 UTC

cvs commit: modperl-2.0/src/modules/perl modperl_handler.c

stas        2003/09/18 00:51:29

  Modified:    src/modules/perl modperl_handler.c
  Log:
  provide a better tracing information, including the pid/tid and the
  vhost/port information where relevant
  
  Revision  Changes    Path
  1.18      +5 -2      modperl-2.0/src/modules/perl/modperl_handler.c
  
  Index: modperl_handler.c
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_handler.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -u -r1.17 -r1.18
  --- modperl_handler.c	29 May 2003 07:00:31 -0000	1.17
  +++ modperl_handler.c	18 Sep 2003 07:51:29 -0000	1.18
  @@ -20,7 +20,8 @@
       }
   
       handler->name = name;
  -    MP_TRACE_h(MP_FUNC, "new handler %s\n", handler->name);
  +    MP_TRACE_h(MP_FUNC, "[%s] new handler %s\n",
  +               modperl_pid_tid(p), handler->name);
   
       return handler;
   }
  @@ -52,8 +53,10 @@
           MpHandlerAUTOLOAD_On(handler);
   
           MP_TRACE_h(MP_FUNC,
  -                   "handler %s was not compiled at startup, "
  +                   "[%s %s] handler %s was not compiled at startup, "
                      "attempting to resolve using %s pool 0x%lx\n",
  +                   modperl_pid_tid(p),
  +                   modperl_server_desc(s, p),
                      handler->name,
                      duped ? "current" : "server conf",
                      (unsigned long)rp);