stas        2002/12/05 20:22:30

  Modified:    src/modules/perl modperl_config.c
               .        Changes
  Log:
  until now env var MOD_PERL_TRACE has never had a chance to set the tracing
  level. now it gets this chance at the earliest entry point of mod_perl
  config, when the server config object is created.
  
  Revision  Changes    Path
  1.58      +5 -0      modperl-2.0/src/modules/perl/modperl_config.c
  
  Index: modperl_config.c
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_config.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- modperl_config.c  15 Sep 2002 23:30:06 -0000      1.57
  +++ modperl_config.c  6 Dec 2002 04:22:30 -0000       1.58
  @@ -164,6 +164,11 @@
   
       ap_mpm_query(AP_MPMQ_IS_THREADED, &scfg->threaded_mpm);
   
  +    /* give a chance to MOD_PERL_TRACE env var to set PerlTrace. This
  +     * place is the earliest point in mod_perl configuration
  +     * parsing */
  +    modperl_trace_level_set(s, NULL);
  +    
   #ifdef USE_ITHREADS
   
       scfg->interp_pool_cfg = 
  
  
  
  1.76      +2 -0      modperl-2.0/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Changes,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- Changes   5 Dec 2002 04:56:15 -0000       1.75
  +++ Changes   6 Dec 2002 04:22:30 -0000       1.76
  @@ -10,6 +10,8 @@
   
   =item 1.99_08-dev
   
  +env var MOD_PERL_TRACE is working again [Stas Bekman]
  +
   add a new test TestDirective::perlloadmodule2, which performs a more
   evolved merging.  [Stas Bekman]
   
  
  
  


Reply via email to