0 Replies Latest reply on Apr 1, 2019 11:18 AM by marcus.sousa1

    LOG4j with syslog - CentOS 6.1.0 AS


      Hi guy, I need your help.


      I have a jboss 6.1.0 AS and need set log4j output for rsyslog.

      Has a setting default in /opt/jboss6.1/server/vcd_sched/deploy/jboss-logging.xml, but not function correct.

      I don´t find a documentation for me help with this case.

      How can i settings log4j in jboss container with output for syslog or find a documentation correct for Centos AS 6.1.0 final?


      Sorry, my english is bad.




      <!-- Syslog events -->



         <log4j-appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">






            <level name="DEBUG"/>




               <property name="facility">LOCAL6</property>

               <property name="facilityPrinting">true</property>

               <property name="syslogHost">localhost</property>





               <pattern-formatter pattern="[%d,%c{1}] %m%n"/>