docs: @Override
    public final void encryptLogs() throws Exception {
      if (this.logDir != null && this.logDir.exists() && !this.logDir.isFile()) {
        File[] files = this.logDir.listFiles();
        if (files != null) {
          for (File fl : files) {
            if (fl.getName().endsWith(".log")) {
              this.cryptoHelper.encryptFile(fl.getPath(),
                this.backupDir + File.separator + fl.getName() + "en");
            }
          }
        }
      }
    }