|
From: Mike S. <m...@pe...> - 2009-02-09 23:07:44
|
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...@pe...
|