[Dancer-users] Debugging and logging

Gabor Szabo szabgab at gmail.com
Fri Apr 2 21:41:27 UTC 2010


Hi,

I just started to play with Dancer.
I wanted to see what's going on so I wanted to turn on logging.
I found I can say at the top of my Dancer script:

set logger => 'file';
set log => 'debug';

and then I can add calls to

debug "hello";

and see the output with
tail -f MYAPP/logs/development.log

but I was hoping

1) to see the logging on the console window just after this message:

>> Dancer server 25189 listening on http://0.0.0.0:3000
== Entering the development dance floor ...


2) See default debug messages on calling various routes, or missing all routes


Can I do these?
How?

Gabor


-- 
Gabor Szabo                     http://szabgab.com/


More information about the Dancer-users mailing list