Is it possible to change log layout from EAP6? (HTMLLayout)

Solution Unverified - Updated -

Issue

During migration from EAP 5 to EAP 6, I tried to apply own log4j configuration to EAP default logging handler.

How to use HTMLLayout on EAP logging module?

<appender name="performHTMLFileAppender" class="org.apache.log4j.FileAppender">
        <param name="File" value="${jboss.home.dir}/../log/SAML/performance.html"/>
        <param name="Append" value="false"/>
        <layout class="org.apache.log4j.HTMLLayout"></layout>
    </appender>

Environment

Red Hat JBoss Enterprise Application Platform
- 6.3.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.