From 971dcc46a20dc292e9db16d978502dffdf8bfa96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Sun, 13 Sep 2020 14:40:47 +0200 Subject: [PATCH] Disable access log This is annoying and mostly redundant to nginx. --- src/lib/Hydra.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/Hydra.pm b/src/lib/Hydra.pm index 7894a8ba..6d204431 100644 --- a/src/lib/Hydra.pm +++ b/src/lib/Hydra.pm @@ -16,7 +16,6 @@ use Catalyst qw/ConfigLoader Session Session::Store::FastMmap Session::State::Cookie - AccessLog Captcha/, '-Log=warn,fatal,error'; use CatalystX::RoleApplicator; @@ -62,11 +61,6 @@ __PACKAGE__->config( storage => Hydra::Model::DB::getHydraPath . "/www/session_data", unlink_on_exit => 0 }, - 'Plugin::AccessLog' => { - formatter => { - format => '%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i" %[handle_time]', - }, - }, 'Plugin::Captcha' => { session_name => 'hydra-captcha', new => {