On Mon, 9 Feb 2009, DAY Roger wrote:

> Good to see the log4perl-devel list up and alive. I've managed to drag
> another company into using log4perl, but to business.

Good job! :)

> I've implemented Matt Sargants recomendations for exception handling
> but on the throw method I keep getting a "bad file descriptor" in $@
> when I add the line Log::Log4perl->easy_init(); Is there a way around
> this? I think it's the easy_init causing the problem; do I need to
> close Log::Log4perl properly, or somesuch?

Could this be related to using eval{} and not checking $^S in the
__DIE__ handler?

     
http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#How_can_I_make_sure_my_application_logs_a_message_when_it_dies_unexpectedly?

-- Mike

Mike Schilli
m...@perlmeister.com

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to