IAM logfiles rotation changes based on size


Article ID: 192954


Updated On:


CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization


The IAM logs in IdentityAccessManager/standalone/log:
Can we restrict the number of log files here?
Restrict based on size of log file, and rotate it when reaching the size of file and only keep max 4 log files.
Let me know if this configuration is possible.


Devtest 10.X

Component : CA Service Virtualization


Please use the attached standalone.xml file to rotate the logging file based on file size.
This configuration will rotate the log file if the size of the log file exceeds 500kb.

This log settings below will generate a total of 6 files.
The current files and 5 backup files.


If you want to set this to 10 MB per standard you would use a file size 10m
(For 10 Megabytes)

Additional Information

        <subsystem xmlns="urn:jboss:domain:logging:3.0">
            <console-handler name="CONSOLE">
                <level name="INFO"/>
                    <named-formatter name="COLOR-PATTERN"/>
            <size-rotating-file-handler name="FILE" autoflush="true">
                    <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
                <file relative-to="jboss.server.log.dir" path="server.log"/>
                <rotate-size value="500k"/>
                <max-backup-index value="5"/>
                <append value="false"/>



1592205749462__standalone.xml get_app