Remove wfdebuglog calls and use the Logger!!!!
LoggerFactory::getInstance( $logGroup )
$logger->info( $text, $context )
Please see the contents of https://github.com/wikimedia/mediawiki/blob/master/includes/GlobalFunctions.php#L1156 for how to use the logger.
Loggers should either be injected in the constructor of objects needing to log or an instance got from the factory there