How to add the custom class for pattern-formatter in JBoss EAP 6 ?

Solution Unverified - Updated -

Issue

  • In JBoss EAP 5 custom class is used to change the pattern-formatter in Syslog handler ?
<appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
 <layout class="org.apache.log4j.PatternLayout">
     <param name="ConversionPattern" value="%d [%t] %p - %m%n"/>
 </layout>
</appender>

How can I set a custom formatter on my SyslogHandler in JBoss EAP 6 ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.