Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Catalyst/Moose: passing specific config value to superclass

by trwww (Priest)
on Oct 23, 2018 at 15:39 UTC ( [id://1224556] : note . print w/replies, xml ) Need Help??


in reply to Catalyst/Moose: passing specific config value to superclass

I don't have any advice about your specific code, but I'd suggest moving your log setup outside of the request cycle. Any reason you're rolling your own instead of using any of the many catalyst logging utilities from CPAN? For example check out Log::Log4perl::Catalyst:

https://metacpan.org/pod/Log::Log4perl::Catalyst

  • Comment on Re: Catalyst/Moose: passing specific config value to superclass