avoid logging on jboss
I m using jboss as application server. When I deploy my application on server it prints logs on jboss. So, can anybody tell how and where to create logging.properties file to manage the logs on jboss. please re开发者_运维百科ply me as soon as possible.
thank you.
Here is the JBoss Documentation about logging.
And an article about JBoss logging configuration.
Good reading.
Edit :
You can set the JDK logging property :
java.util.logging.config.file = myLoggingFile.properties
You can also launch the JBoss Server with the good JAVA_OPTS (example for JDK1.4) :
JAVA_OPTS="-Dorg.jboss.logging.Logger.pluginClass=logging.JDK14LoggerPlugin
-Djava.util.logging.config.file=myLoggingFile.properties"
精彩评论