[Catalyst] Populate Log4perl config from Catalyst perl hooks

Charlie Garrison garrison at zeta.org.au
Mon Apr 22 16:55:44 GMT 2013

Good morning,

On 22/04/13 at 3:57 PM -0000, Anthony Gladdish 
<anthony.gladdish at newcastle.ac.uk> wrote:

>It's turned on by default, yet enabling/disabling it before 
>initialising the new log object, doesn't appear to fix:

I don't know what else to suggest. This is an (slightly 
modified) example that works for us:

log4perl.appender.CLIENTLOG.filename=sub { require MyApp; return 
MyApp->path_to('client.log'); }


    Ꮚ Charlie Garrison ♊ <garrison at zeta.org.au>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt

More information about the Catalyst mailing list