r1432@llin: dpavlin | 2007-10-31 22:43:23 +0100
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 1 Nov 2007 00:16:46 +0000 (00:16 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 1 Nov 2007 00:16:46 +0000 (00:16 +0000)
 shut up Log::Log4perl complaints where there is no_log param

git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@948 07558da8-63fa-0310-ba24-9fe276d99e06

lib/WebPAC/Common.pm

index e707c81..9989ee5 100644 (file)
@@ -267,6 +267,7 @@ sub _init_logger {
        my $conf = q( );
        if ($self->no_log) {
                warn "# $name disabled logging\n" if $self->log_debug;
+               $Log::Log4perl::Config::CONFIG_INTEGRITY_CHECK = 0;
        } elsif ($self->debug) {
                $conf = << '_log4perl_';