[log4perl-devel] subclassed DBI (DBI_Buffer) does not release dbh filehandles on reinit

2009-02-23 Thread Robert Jacobson
This is related to the thread "Intermittent problems when using signal to reread log configuration", but it focuses more on where I think the problem is (i.e. my code). I'm hoping someone will be able to tell me where I'm going wrong! I'm having some trouble with a subclass of the DBI appender I

Re: [log4perl-devel] Intermittent problems when using signal to reread log configuration

2009-02-23 Thread Mike Schilli
On Mon, 23 Feb 2009, Robert Jacobson wrote: > Apparently my appender is not closing its dbh filehandles. I'm going > to start a separate thread, since the problem is something totally > different (in my code, probably). I apologize for my inadequate > testing :( No problem at all, glad we've fou

Re: [log4perl-devel] Intermittent problems when using signal to reread log configuration

2009-02-23 Thread Robert Jacobson
Ah, apparently I *had* left some appenders using DBI_Buffer (DBI appender subclass) in my config. I retested a bunch of things today and I could not reproduce the error unless I had my DBI_Buffer appender in the config. Further investigation showed that the mysql server was reaching its maximum

Re: [log4perl-devel] Appender::File and Layout question

2009-02-23 Thread Ronald Fischer
On Fri, 20 Feb 2009 10:41 -0800, "Mike Schilli" wrote: > On Fri, 20 Feb 2009, Ronald Fischer wrote: > >> log4perl.logger = DEBUG, FooApp, BarApp, AnotherAppender > > > > This is valid Perl code? So I have to the left of the assignment a > > catenation, and to the right the comma operator?

Re: [log4perl-devel] Appender::File and Layout question

2009-02-23 Thread Mike Schilli
On Mon, 23 Feb 2009, Ronald Fischer wrote: > I see, and I guess get_request_name must be in package main so that > the logging package can find it? Either that or you call the fully qualified name, Foo::Bar::get_request_name. > There are times where there is no request being processed, but still