return logger from loginit so that we can use it

This commit is contained in:
Isaac Connor 2022-01-05 16:49:00 -05:00
parent cce24ea427
commit bfac696fb7
1 changed files with 1 additions and 0 deletions

View File

@ -638,6 +638,7 @@ sub logInit( ;@ ) {
$logger = ZoneMinder::Logger->new() if !$logger; $logger = ZoneMinder::Logger->new() if !$logger;
$logger->initialise(%options); $logger->initialise(%options);
logSetSignal(); logSetSignal();
return $logger;
} }
sub logReinit { sub logReinit {