public function _beforeSuite($settings = []) {
    if ($this->config['check_logs'] && \Drupal::moduleHandler()->moduleExists('dblog')) {
      // Clear log entries from the database log.
      \Drupal::database()->truncate('watchdog')->execute();
    }
  }