In the deployment directory of JBoss 6, there is jboss-logging.xml
:
The FILE
appender has following pattern:
<pattern-formatter pattern="%d %-5p [%c] (%t:%x) %s%E%n"/>
This outputs something as follows:
2010-08-02 17:41:43,845 INFO [STDOUT] (http-127.0.0.1-8080-1:) 2010-08-02 17:41:43,844 INFO [http-127.0.0.1-8080-1] (XyzPageController.java:<init>:58) - New abc instantiated and empty xyz constructed.
I'm wondering what the %s%E tokens stand for... Is this something JBoss 6 specific?
from http://i0.grepcode.com/file/repo1.maven.org/maven2/org.jboss.logmanager/jboss-logmanager/1.2.0.GA/org/jboss/logmanager/formatters/FormatStringParser.java
The %E is the stack trace and %s is the message.
The whole jboss-logging.xml
file is JBoss-specific - from JBossAS 6, they're using a proprietary logging configuration, rather than using jboss-log4j.xml
like they did in previous versions.
I can't find any documentation as to what it means, though. This stuff is still in beta, so the docs may not exist yet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With