[Installation, Configuration & DEPLOYMENT] - Re: JBoss logging configuration
by dimitris@jboss.org
Actually since AS 4.2.x TRACE is supported natively by log4j so you can just say
| <category name="bla>
| <priority value="TRACE"/>
| </category>
|
Now, AS 5.1.x includes a logging bridge between java.util.logging and log4j, meaning that the levels you set in the log4j config are propagated to the java.util.logging side.
To set levels that appears only in java.util.logging you can use org.jboss.logging.log4j.JDKLevel, e.g.
| <!-- Set the logging level of the JSF implementation that uses
| | java.util.logging. The jdk logging levels can be controlled
| | through the org.jboss.logging.log4j.JDKLevel class that
| | in addition to the standard log4j levels it adds support for
| | SEVERE, WARNING, CONFIG, FINE, FINER, FINEST
| -->
| <category name="javax.enterprise.resource.webcontainer.jsf">
| <priority value="FINE" class="org.jboss.logging.log4j.JDKLevel"/>
| </category>
|
Before AS 5.1 this is not supported.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227509#4227509
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227509
15 years, 7 months