Correct wrong get_logger method.