[dancer-users] How are people logging with Dancer2

Pedro Melo melo at simplicidade.org
Thu Jun 27 06:49:07 BST 2013


Hi,

On Thu, Jun 27, 2013 at 12:50 AM, David Golden <xdg at xdg.me> wrote:

> I'm looking at logging and notice that there don't appear to be any
> handlers other than the core ones.
>
> Then I look at Dancer2::Logger::File and see these issues:
>
> * log_path is documented but no code actually uses it
>
> * holds an open file-handle.  No flush/reopen on a signal, so log
> rotation means restarting the whole app
>
> So what are people using Dancer2 actually doing for logging?  Just
> Console grabbed by a supervisor daemon?
>

Deployed two apps on Dancer2 to production last week, and went through the
same process. Due to time constraints I ended up logging to console and
used multilog to handle log rotation.

So yes, Console grabbed by a superviser daemon.

Bye,
-- 
Pedro Melo
@pedromelo
http://www.simplicidade.org/
xmpp:melo at simplicidade.org
mailto:melo at simplicidade.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20130627/84007635/attachment.htm>


More information about the dancer-users mailing list