Hi all
I am trying to capture unhandled exceptions that are sent to STDERR,
e.g. for example the following could would give such an error
my $test = 'foo';
if ($test == 55) {
}
gives
Argument "foo" isn't numeric in numeric eq (==) at....
I can catch this using stealth as loggers outlined in
http://search.cpan.org/~mschilli/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#So
me_module_prints_messages_to_STDERR._How_can_I_funnel_them_to_Log::Log4p
erl?
but the example assumes you are using the "easy" configuration method.
The question I have is can I do a similar thing but use an external
configuration file for log4perl? I have tried but failed so would
appreciate any guidance?
Thanks
Richard
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
log4perl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/log4perl-devel