forked from lix-project/hydra
Disable access log
This is annoying and mostly redundant to nginx.
This commit is contained in:
parent
8f683aa7f8
commit
971dcc46a2
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in a new issue