Skip to content
Snippets Groups Projects
Commit c8058800 authored by dcoutadeur dcoutadeur's avatar dcoutadeur dcoutadeur
Browse files

set logger to LLNG_DEFAULTLOGGER envvar when set, during handler init (#2769)

parent 0fffe97e
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ sub init($$) {
sub logLevelInit {
my ($class) = @_;
my $logger = $class->localConfig->{logger} ||= $class->defaultLogger;
$logger = $ENV{LLNG_DEFAULTLOGGER} if $ENV{LLNG_DEFAULTLOGGER};
eval "require $logger";
die $@ if ($@);
my $err;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment