[jboss-dev-forums] [JBoss AS7 Development] - Re: Help, my extension isn't starting

Carlo de Wolf do-not-reply at jboss.com
Tue Feb 1 07:20:20 EST 2011


Carlo de Wolf [http://community.jboss.org/people/wolfc] created the discussion

"Re: Help, my extension isn't starting"

To view the discussion, visit: http://community.jboss.org/message/584595#584595

--------------------------------------------------------------
First configure logging.properties to TRACE log org.jboss.modules.
1. Add org.jboss.modules to the logger names that need to be configured.
2. Set logger.org.jboss.modules.level to TRACE
3. Do not forget to comment out the threshold of the FileHandler (or ConsoleHandler)

Your logging.properties will then look like:
# Additional logger names to configure (root logger is always configured)
loggers=org.jboss.as.config,org.jboss.modules

# Dump system environment at boot by default
logger.org.jboss.as.config.level=DEBUG

logger.org.jboss.modules.level=TRACE

# Root logger level
logger.level=${jboss.boot.server.log.level:INFO}
# Root logger handlers
logger.handlers=FILE,CONSOLE

# Console handler configuration
handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler
handler.CONSOLE.properties=autoFlush
handler.CONSOLE.level=${jboss.boot.server.log.console.level:INFO}
handler.CONSOLE.autoFlush=true
handler.CONSOLE.formatter=PATTERN

# File handler configuration
handler.FILE=org.jboss.logmanager.handlers.FileHandler
#handler.FILE.level=DEBUG
handler.FILE.properties=autoFlush,fileName
handler.FILE.autoFlush=true
handler.FILE.fileName=${org.jboss.boot.log.file:boot.log}
handler.FILE.formatter=PATTERN

# Formatter pattern configuration
formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter
formatter.PATTERN.properties=pattern
formatter.PATTERN.pattern=%d{HH:mm:ss,SSS} %-5p [%c] %s%E%n
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/584595#584595]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110201/c89f7f15/attachment.html 


More information about the jboss-dev-forums mailing list