[tpm] Playing with Dancer (beginner assistance required)

J. Bobby Lopez jbl at jbldata.com
Tue Mar 29 09:44:04 PDT 2011


So I started playing with Dancer, and am trying to figure out how to enable
logging.

I've seen the Dancer Cookbook, and saw the Dancer::Config stuff:

Dancer::Config::setting('appdir',$appdir);
Dancer::Config::load();

And I added the 'logger' and 'log' items to the config.yml file, but when I
try to use a simple debug statement, such as:

debug "hey it's me";

It doesn't log to the console or any log file.  No log file is created in
the appdir/.

What am I missing?

Thanks,
-Bobby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20110329/0e4e7b65/attachment.html>


More information about the toronto-pm mailing list