WildFly Logging Subsystem Configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
* [[WildFly Logging Subsystem#Subjects|WildFly Logging Subsystem]] | * [[WildFly Logging Subsystem#Subjects|WildFly Logging Subsystem]] | ||
=Relevance= | |||
* EAP 6.4 | |||
=Overview= | |||
<pre> | |||
<subsystem xmlns="urn:jboss:domain:logging:1.5"> | |||
<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 name="WARN"/> | |||
</logger> | |||
<logger category="org.apache.tomcat.util.modeler"> | |||
<level name="WARN"/> | |||
</logger> | |||
<logger category="org.jboss.as.config"> | |||
<level name="DEBUG"/> | |||
</logger> | |||
<logger category="sun.rmi"> | |||
<level name="WARN"/> | |||
</logger> | |||
<logger category="jacorb"> | |||
<level name="WARN"/> | |||
</logger> | |||
<logger category="jacorb.config"> | |||
<level name="ERROR"/> | |||
</logger> | |||
<root-logger> | |||
<level name="INFO"/> | |||
<handlers> | |||
<handler name="FILE"/> | |||
</handlers> | |||
</root-logger> | |||
<formatter name="PATTERN"> | |||
<pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/> | |||
</formatter> | |||
</subsystem> | |||
</pre> |
Revision as of 05:02, 4 March 2016
Internal
Relevance
- EAP 6.4
Overview
<subsystem xmlns="urn:jboss:domain:logging:1.5"> <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 name="WARN"/> </logger> <logger category="org.apache.tomcat.util.modeler"> <level name="WARN"/> </logger> <logger category="org.jboss.as.config"> <level name="DEBUG"/> </logger> <logger category="sun.rmi"> <level name="WARN"/> </logger> <logger category="jacorb"> <level name="WARN"/> </logger> <logger category="jacorb.config"> <level name="ERROR"/> </logger> <root-logger> <level name="INFO"/> <handlers> <handler name="FILE"/> </handlers> </root-logger> <formatter name="PATTERN"> <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/> </formatter> </subsystem>