[Catalyst] Populate Log4perl config from Catalyst perl hooks

Anthony Gladdish anthony.gladdish at newcastle.ac.uk
Mon Apr 22 15:57:53 GMT 2013


>-----Original Message-----
>From: Charlie Garrison [mailto:garrison at zeta.org.au]
>Sent: 22 April 2013 13:36
>To: The elegant MVC web framework
>Subject: RE: [Catalyst] Populate Log4perl config from Catalyst
>perl hooks
>
>Good evening,
>
>On 22/04/13 at 11:38 AM -0000, Anthony Gladdish
><anthony.gladdish at newcastle.ac.uk> wrote:
>
>>No, neither removing the backslash or adding the require
>statement has worked.
>
>You haven't by chance disabled `allow_code` in Log::Log4perl
>config?

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

Log::Log4perl::Config->allow_code(1);

Anthony


More information about the Catalyst mailing list