Jason
Jason

Reputation: 129

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

i am getting lot of "TRACE" on my server log, because of which jboss start up is taking a lot of time, can somebody help to disable TRACE or change the log level ?

    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.

Upvotes: 1

Views: 6241

Answers (2)

Jason
Jason

Reputation: 129

this is solved after doing the below changes

In logging.propertieslogger.level=INFO

In standalone-full.xml

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

Upvotes: 1

You can change console log level in stanadalone.xml configuration file (For example to INFO) or from admine console in loggin part:

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

Upvotes: 0

Related Questions