Fix import statements for logging.