Stop build warnings when disabling debug logging.