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
:




------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to