1) How are you running the app? Just perl bin/<a href="http://app.pl">app.pl</a>?<div>2) Can you post the contents of config.yml and environments/development.yml? ( less passwordy-bits of course)</div><div><br></div><div>
Thanks,</div><div>D</div><div><div>--</div><a href="mailto:dave.s.doyle@gmail.com" target="_blank">dave.s.doyle@gmail.com</a><br>
<br><br><div class="gmail_quote">On Tue, Mar 29, 2011 at 12:44 PM, J. Bobby Lopez <span dir="ltr"><<a href="mailto:jbl@jbldata.com">jbl@jbldata.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>So I started playing with Dancer, and am trying to figure out how to enable logging.<br></div><div><br></div><div>I've seen the Dancer Cookbook, and saw the Dancer::Config stuff:</div><div><br></div><div> Dancer::Config::setting('appdir',$appdir);<br>
Dancer::Config::load();<br></div><div><br></div><div>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:</div><div><br></div><div>
debug "hey it's me";</div><div><br></div><div>It doesn't log to the console or any log file. No log file is created in the appdir/.</div><div><br></div><div>What am I missing?<br><br>Thanks,<br></div><font color="#888888"><div>
-Bobby</div>
</font><br>_______________________________________________<br>
toronto-pm mailing list<br>
<a href="mailto:toronto-pm@pm.org">toronto-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/toronto-pm" target="_blank">http://mail.pm.org/mailman/listinfo/toronto-pm</a><br>
<br></blockquote></div><br></div>