Hanuman M
Hanuman M

Reputation: 27

Jboss EAP 6.3.3 (AS 7.4.3 final redhat 2) how to setup periodic size based logging in standalone-full.xml

I tried with following setup in standalone-full.xml file but with no luck. Is anything work with below setup? Can any one tell me is Jboss EAP 6.3.3 supports this setup? Thanks in advance.

            <periodic-size-rotating-file-handler name="FILE" autoflush="true">
                <formatter>
                    <named-formatter name="PATTERN"/>
                </formatter>
                <file relative-to="jboss.server.log.dir" path="server.log"/>
                <suffix value=".yyyy-MM-dd"/>
                <append value="true"/>
                <max-backup-index value="4"/>
                <rotate-size value="100k"/>
                <encoding value="UTF-8"/>
            </periodic-size-rotating-file-handler>

Upvotes: 0

Views: 181

Answers (1)

Francisco Melo junior
Francisco Melo junior

Reputation: 348

Yes, it is correct. The problem is that this was not a standard handler until EAP 6.4. The solution would be to upgrade to EAP 6.4.22 at least, and apply.

Upvotes: 1

Related Questions