如何在 JBOSS EAP 7 中禁用 TRACE 或更改日志级别

How to disable TRACE or change the log level in JBOSS EAP 7

我的服务器日志中有很多 "TRACE",因此 jboss 启动需要很长时间,有人可以帮助禁用 TRACE 或更改日志级别吗?

    yers/base/.overlays/layer-base-jboss-eap-7.0.9.CP,/MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules/system/layers/base))
2019-02-20 15:37:05,413 TRACE [org.jboss.modules] (MSC service thread 1-2) Loading class com.ibm.wsdl.util.xml.DOM2Writer locally from Module "javax.wsdl4j.api:main" from local module loader @47d384ee (finder: local module finder @2d6a9952 (roots: /MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules,/MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules/system/layers/base/.overlays/layer-base-jboss-eap-7.0.9.CP,/MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules/system/layers/base))
2019-02-20 15:37:05,414 TRACE [org.jboss.modules] (MSC service thread 1-2) Attempting to define class com.ibm.wsdl.util.xml.DOM2Writer in Module "javax.wsdl4j.api:main" from local module loader @47d384ee (finder: local module finder @2d6a9952 (roots: /MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules,/MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules/system/layers/base/.overlays/layer-base-jboss-eap-7.0.9.CP,/MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules/system/layers/base))
2019-02-20 15:37:05,414 TRACE [org.jboss.modules] (MSC service thread 1-2) Attempting to define package com.ibm.wsdl.util.xml in Module "javax.wsdl4j.api:main" from local module loader @47d384ee (finder: local module finder @2d6a9952 (roots: /MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules,/MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules/system/layers/base/.overlays/layer-base-jboss-eap-7.0.9.CP,/MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules/system/layers/base))
2019-02-20 15:37:05,414 TRACE [org.jboss.modules] (MSC service thread 1-2) Defined package com.ibm.wsdl.util.xml in Module "javax.wsdl4j.api:main" from local module loader @47d384ee (finder: local module finder @2d6a9952 (roots: /MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules,/MBANK1_APP/FE/PROFILE/jboss-eap-7.0/modules/system/layers/base/.overlays/layer-base-jboss-eap-7.0.

您可以在 stanadalone.xml 配置文件中更改控制台日志级别(例如更改为 INFO)或从登录部分的管理控制台:

 <subsystem xmlns="urn:jboss:domain:logging:3.0">
            <console-handler name="CONSOLE">
                <level name="INFO"/>

进行以下更改后已解决此问题

在logging.propertieslogger.level=INFO

独立-full.xml

` <root-logger>
                <level name="INFO"/>
                <handlers>
                    <handler name="CONSOLE"/>
                    <handler name="FILE"/>
                </handlers>
   </root-logger>`