|
From: Lee G. <le...@gm...> - 2013-03-27 08:49:21
|
I'm trying Log::Log4perl::Catalyst in the way described in the SYNOPSIS
of the POD, with the configuration below. I get my own log statements in
the expected location but still some of Catalyst's -Debug statements go
to STDERR.
Is this a feature of Catalyst, or am I doing something wrong?
TIA
Lee
Config:
log4perl.logger = TRACE, FILE
log4perl.appender.FILE = Log::Log4perl::Appender::File
log4perl.appender.FILE.mode = append
log4perl.appender.FILE.filename =
/logs/engine/FifteenGifts-Engine/logs/l4p.log
log4perl.appender.FILE.layout=Log::Log4perl::Layout::PatternLayout
log4perl.appender.FILE.layout.ConversionPattern = %5p | %-50m | %-30M{4}
%4L%n
Output in l4p.log:
TRACE | Leave |
Engine.Model.DAO.retrieve 135
DEBUG | Response Code: 200; Content-Type: application/json;
charset=utf-8; Content-Length: 13587 |
Catalyst::log_response_status_line 2264
INFO | Request took 26.607410s (0.038/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /threshold/default | 26.59772s |
| -> /threshold/update | 26.59430s |
| /end | 0.002213s |
| -> FifteenGifts::Engine::View::JSON->process | 0.001421s |
'------------------------------------------------------------+-----------'
| Catalyst::finalize 1820
Output in error_log (STDERR)
[Wed Mar 27 09:42:13 2013] [error] [client 127.0.0.1] [debug] Loaded
Path actions:, referer: http://engineeditor/threshold/
[Wed Mar 27 09:42:13 2013] [error] [client 127.0.0.1] [info]
FifteenGifts::Engine powered by Catalyst 5.90019, referer:
http://engineeditor/threshold/
etc
:
|