Log time required by a request

This commit is contained in:
Eelco Dolstra 2012-11-05 17:37:23 +01:00
parent 9ba1fd6952
commit 2906116fda

View file

@ -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();