April 2018
Intermediate to advanced
382 pages
10h 11m
English
To configure the logging for WildFly, edit the $WILDFLY_HOME/standalone/configuration/standalone.xml file.
To customize the logging properties, find the <profile> node and then find <subsystem xmlns='urn:jboss:domain:logging:3.0'> inside it.
It is based on handles like this:
<console-handler name="CONSOLE"> <level name="INFO"/> <formatter> <named-formatter name="COLOR-PATTERN"/> </formatter> </console-handler> <periodic-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"/> </periodic-rotating-file-handler> <logger category="com.arjuna"> <level ...
Read now
Unlock full access