[Catalyst] Dev Server Not showing standard debug info when using
Log4Perl Plugin
Eric Berg
eberg at bergbrains.com
Mon Jan 24 00:49:51 GMT 2011
Is there a way to get all of the logging that you get with the dev
catalyst server when you use Catalyst::Log::Log4perl? I love me my l4p
formatting, including lline numbers, etc., but would also like to see
the standard catalyst debug output.
I"ve enabled l4p in catalyst liek this:
# In my app main class
use Catalyst::Log::Log4perl;
# and
__PACKAGE__->log(
Catalyst::Log::Log4perl->new(
'/home/eberg/.log4perl.conf',
)
);
and what I'm NOT seeing is this type of output:
[info] *** Request 1 (0.022/s) [14691] [Sun Jan 23 15:56:08 2011] ***
[debug] "GET" request for "/" from "192.168.0.2"
[debug] Path is "/"
[debug] Found sessionid "047f0a6876ad155397f81716a7e9642f05594914" in cookie
[debug] Restored session "047f0a6876ad155397f81716a7e9642f05594914"
[debug] END
[debug] Rendering template "index.tt2"
[debug] Response Code: 200; Content-Type: text/html; charset=utf-8; Content-Length: 8017
[info] Request took 0.160021s (6.249/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /auto | 0.000545s |
| /default | 0.000253s |
| /end | 0.116628s |
| -> GLR::View::HTML->process | 0.113000s |
'------------------------------------------------------------+-----------'
Any help will be appreciated.
Eric
More information about the Catalyst
mailing list