forked from lix-project/hydra
Log time required by a request
This commit is contained in:
parent
9ba1fd6952
commit
2906116fda
|
@ -49,6 +49,11 @@ __PACKAGE__->config(
|
||||||
expires => 3600 * 24 * 2,
|
expires => 3600 * 24 * 2,
|
||||||
storage => Hydra::Model::DB::getHydraPath . "/session_data"
|
storage => Hydra::Model::DB::getHydraPath . "/session_data"
|
||||||
},
|
},
|
||||||
|
'Plugin::AccessLog' => {
|
||||||
|
formatter => {
|
||||||
|
format => '%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i" %[handle_time]',
|
||||||
|
},
|
||||||
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
__PACKAGE__->setup();
|
__PACKAGE__->setup();
|
||||||
|
|
Loading…
Reference in a new issue