docs: public
    void setFacility(String facilityName) {
      if(facilityName == null)
        return;
  
      syslogFacility = getFacility(facilityName);
      if (syslogFacility == -1) {
        System.err.println("["+facilityName +
                    "] is an unknown syslog facility. Defaulting to [USER].");
        syslogFacility = LOG_USER;
      }
  
      this.initSyslogFacilityStr();
  
      // If there is already a sqw, make it use the new facility.
      if(sqw != null) {
        sqw.setSyslogFacility(this.syslogFacility);
      }
    }