/[webpac2]/trunk/lib/WebPAC/Common.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/WebPAC/Common.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 72 by dpavlin, Sun Jul 24 15:07:56 2005 UTC revision 73 by dpavlin, Sun Nov 20 20:13:33 2005 UTC
# Line 175  log4perl.appender.SCREEN.layout.Conversi Line 175  log4perl.appender.SCREEN.layout.Conversi
175    
176  _log4perl_  _log4perl_
177                  warn "# $name is using debug logger\n" if ($log_debug);                  warn "# $name is using debug logger\n" if ($log_debug);
178          } elsif ($name !~ m/Test::Exception/o) {          } elsif ($name =~ m/Test::Exception/o) {
179                  warn "# disabled logging for Text::Exception\n" if ($log_debug);                  warn "# disabled logging for Text::Exception\n" if ($log_debug);
180          } elsif ($file) {          } elsif (-e $file) {
181                  warn "# $name is using $file logger\n" if ($log_debug);                  warn "# $name is using $file logger\n" if ($log_debug);
182                  Log::Log4perl->init($file);                  Log::Log4perl->init($file);
183                    return 1;
184          } else {          } else {
185                  warn "# $name is using null logger\n" if ($log_debug);                  warn "# $name is using null logger\n" if ($log_debug);
186          }          }

Legend:
Removed from v.72  
changed lines
  Added in v.73

  ViewVC Help
Powered by ViewVC 1.1.26