code: 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);
      }
    }
docs: Set the syslog facility. This is the <b>Facility</b> option.
  
  <p>The <code>facilityName</code> parameter must be one of the
  strings KERN, USER, MAIL, DAEMON, AUTH, SYSLOG, LPR, NEWS, UUCP,
  CRON, AUTHPRIV, FTP, LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4,
  LOCAL5, LOCAL6, LOCAL7. Case is unimportant.
  
  @since 0.8.1