[Catalyst] Configuration of $c->log with Catalyst::Log::Log4perl

Jon Schutz jon+catalyst at youramigo.com
Fri May 9 06:54:30 BST 2008


On Fri, 2008-05-09 at 10:04 +0930, Jon Schutz wrote:
> On Thu, 2008-05-08 at 16:42 +0200, Jochen Luig wrote:
> 
> > So, can anyone tell me where I should continue looking for the error? 
> > Can anyone think of a scenario where the logger config gets messed up 
> > after initial configuration?
> > 
> 
> If any part of your app invokes Log::Log4perl->easy_init(), that will
> break it.  There was such a line of code in a SQL::Translator file at
> one stage, but it has been fixed in more recent versions.
> 

I take that back - the file in question is
SQL::Translator::Schema::Graph.pm and the call to easy_init() is still
there.  There's a good chance this module is loaded if you are using
DBIx::Class and calling deploy() from your app.

Details in:
http://www.mail-archive.com/dbix-class@lists.rawmode.org/msg03436.html

-- 
Jon Schutz                        My tech notes http://notes.jschutz.net
Chief Technology Officer                        http://www.youramigo.com
YourAmigo         




More information about the Catalyst mailing list