|
From: Roger P. <rog...@ea...> - 2003-03-03 14:44:40
|
Hi!
I'm just a log4perl user not a developer. In what forum can I make my
stupid user questions? A log4perl-users list would be nice.
Here is my first question:
In a module, is it possible to fall back to a STDERR printing log if the
parent program using the module haven't configured a log?
Like this (not Perl):
#try
{ $options->{Log} = Log::Log4perl->get_logger($class);
}
#catch
{ Log::Log4perl->easy_init({
level => $DEBUG,
});
$options->{Log} = Log::Log4perl->get_logger($class);
}
Thanks,
Roger P
|