From: Marius Gavrilescu Date: Tue, 27 Jan 2015 08:53:39 +0000 (+0200) Subject: Use init_once instead of init in app.psgi X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=28b3c465ed805dd2bcf03ff80c981be91b99f75f;p=plack-app-gruntmaster.git Use init_once instead of init in app.psgi --- diff --git a/app.psgi b/app.psgi index 3d4fe52..cdd6863 100644 --- 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;