-
1. Re: Mute JBoss 7 client logging?
jaysensharma Jun 11, 2012 4:08 PM (in response to james_farmer)Hi,
As mentioned in the following link: http://middlewaremagic.com/jboss/?p=2037
Create a "/home/userone/logging.properties" file somewhere in your filesystem like following:
# Logging
handlers = java.util.logging.ConsoleHandler
.level = ALL
INFO
# Console Logging
java.util.logging.ConsoleHandler.level=SEVERE
Then when you want to run your Client then run it with the following System properties :
java -Djava.util.logging.manager=java.util.logging.LogManager -Djava.util.logging.config.file=/home/userone/logging.properties TestEjbClient
So now If you want to see usual / more logging just change the Log level in your "logging.properties" to java.util.logging.ConsoleHandler.level=INFO
Or
CONFIG, INFO, WARNING, SEVERE; ALL and OFF based on your requirement
-
2. Re: Mute JBoss 7 client logging?
james_farmer Jun 12, 2012 11:30 AM (in response to jaysensharma)That fixed it - thanks for the advice!