Hello, I'm trying to use log4perl to log a message and immediately die. I got the impression that something like:
$logger->error_die( "my error message" ); should be enough, but instead calling this function reports the error message twice. I essentially need log4perl to do something like: $logger->error ("my error message"); die; or preferably: $logger->error ("my error message"); die $error_number; How can I do that ? I've tried logdie, logwarn, error_warn, logcroak, logconfess without success. I either get duplicate error messages printed, not dying, or a combination of the two. I must be missing something obvious. Can someone help please ? Thanks, Kristis
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel