开发者

avoid logging on jboss

开发者 https://www.devze.com 2023-01-30 06:14 出处:网络
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.

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" 
0

精彩评论

暂无评论...
验证码 换一张
取 消