On Sun, 5 Feb 2017 Andrew Beverley <[email protected]> wrote: > On Sat, 4 Feb 2017 Clive Eisen <[email protected]> wrote: > > > > using the former I get entries in syslog like > > > > URL: /getHids in /usr/local/openresty/api/bin/../lib/api.pm l. 47 > > > > With the latter I get > > > > URL: /getHids > > > > I assume I need to tweak the log_format > > This is a bit of an oversight on my part, and the documentation does > not explain it. > > An older version of Logger::LogReport *did* include a call to > Dancer2's format_message function, which would have meant things > working for you as expected.
Thinking about this more, maybe there should be a configuration option to enable/disable for Dancer formatter, so that you can use Dancer2::Logger::LogReport as a drop-in replacement to Dancer2::Logger::Syslog. Would that help? Andy _______________________________________________ dancer-users mailing list [email protected] http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
