[Dancer-users] Debugging and logging

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


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
== Entering the development dance floor ...

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

Can I do these?


Gabor Szabo                     http://szabgab.com/

More information about the Dancer-users mailing list