]> iEval git - plack-app-gruntmaster.git/commitdiff
Use init_once instead of init in app.psgi
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 27 Jan 2015 08:53:39 +0000 (10:53 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 27 Jan 2015 08:53:39 +0000 (10:53 +0200)
app.psgi

index 3d4fe5205325d9d5f984d3ca8237bbe8bd6dfeb2..cdd6863cc3bd153f35d1117469bf4bb4e94239a3 100644 (file)
--- a/app.psgi
+++ b/app.psgi
@@ -40,7 +40,7 @@ sub add_headers {
        }
 }
 
-Log::Log4perl->init('log.conf');
+Log::Log4perl->init_once('log.conf');
 my $access_logger = Log::Log4perl->get_logger('access');
 $ENV{DBIC_NULLABLE_KEY_NOWARN} = 1;
 
This page took 0.028725 seconds and 4 git commands to generate.