Hi, On Thu, Jun 27, 2013 at 12:50 AM, David Golden <xdg@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@simplicidade.org mailto:melo@simplicidade.org