# File lib/log4r/outputter/syslogoutputter.rb, line 64
    def initialize(_name, hash={})
      super(_name, hash)
      ident = (hash[:ident] or hash['ident'] or _name)
      logopt = (hash[:logopt] or hash['logopt'] or LOG_PID | LOG_CONS).to_i
      facility = (hash[:facility] or hash['facility'] or LOG_USER).to_i
      map_levels_by_name_to_syslog()
      if ( Syslog.opened? ) then
        Logger.log_internal { "Syslog already initialized, to alter, " +
          "you must close first"}
      end
      @syslog = ( Syslog.opened? ) ? Syslog : Syslog.open(ident, logopt, facility)
    end