Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3742

How to using rsyslog in zookeeper and modifying the port does not apply to the default port 514?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.6
    • None
    • other
    • None

    Description

      I want to change log4j udp port to dock rsyslog.

      If set following configuration parameters in conf/log4j.properties file

      log4j.appender.SYSLOG.host=localhost
      log4j.appender.SYSLOG.port=515
      log4j.appender.SYSLOG.protocol=UDP

      It will report the following error in zookeeper log file.

      scl:
      log4j:WARN No such property [port] in org.apache.log4j.net.SyslogAppender.
      log4j:WARN No such property [protocol] in org.apache.log4j.net.SyslogAppender.
      log4j:WARN No such property [host] in org.apache.log4j.net.SyslogAppender.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yaojingen yaojingen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: