Merge pull request #812 from helsinki-systems/no-accesslog

Disable access log
This commit is contained in:
Eelco Dolstra 2020-09-14 15:38:13 +02:00 committed by GitHub
commit 2c76e9848a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,6 @@ use Catalyst qw/ConfigLoader
Session Session
Session::Store::FastMmap Session::Store::FastMmap
Session::State::Cookie Session::State::Cookie
AccessLog
Captcha/, Captcha/,
'-Log=warn,fatal,error'; '-Log=warn,fatal,error';
use CatalystX::RoleApplicator; use CatalystX::RoleApplicator;
@ -62,11 +61,6 @@ __PACKAGE__->config(
storage => Hydra::Model::DB::getHydraPath . "/www/session_data", storage => Hydra::Model::DB::getHydraPath . "/www/session_data",
unlink_on_exit => 0 unlink_on_exit => 0
}, },
'Plugin::AccessLog' => {
formatter => {
format => '%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i" %[handle_time]',
},
},
'Plugin::Captcha' => { 'Plugin::Captcha' => {
session_name => 'hydra-captcha', session_name => 'hydra-captcha',
new => { new => {