[tpm] Playing with Dancer (beginner assistance required)

Dave Doyle dave.s.doyle at gmail.com
Tue Mar 29 09:51:18 PDT 2011


1) How are you running the app?  Just perl bin/app.pl?
2) Can you post the contents of config.yml and environments/development.yml?
( less passwordy-bits of course)

Thanks,
D
--
dave.s.doyle at gmail.com


On Tue, Mar 29, 2011 at 12:44 PM, J. Bobby Lopez <jbl at jbldata.com> wrote:

> 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
>
> _______________________________________________
> toronto-pm mailing list
> toronto-pm at pm.org
> http://mail.pm.org/mailman/listinfo/toronto-pm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20110329/cae97b31/attachment.html>


More information about the toronto-pm mailing list