Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1904

facility setted to syslogappendar don't work,but user facility is being used.

    XMLWordPrintableJSON

Details

    • Question
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.8.2
    • None
    • Layouts
    • None

    Description

      Hello

      The following is my settings.

       <Syslog name="SYSLOG" host="127.0.0.1" port="514" protocol="UDP" facility="LOCAL6">
         <PatternLayout pattern=" %d{DEFAULT} %5p - %m%n"/>
       </Syslog>
       

      But the facility received by rsyslog is not LOCAL6 and is USER.
      The jars that I am using

      • commons-logging-1.1.1.jar
      • log4j-jcl-2.8.2.jar
      • log4j-core-2.8.2.jar
      • log4j-api-2.8.2.jar

      Thanks for any answers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            clonline clonline
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: