How to disable the logging using the attribute enabled in custom handler.
Issue
- How to disable the logging using the attribute
enabled="false"in custom handler.
<custom-handler name="DB" class="com.dblogger.JdbcLogger" module="com.dblogger" enabled="false">
<level name="INFO"/>
:
</custom-handler>
- Disabling a custom-handler for logging doesn't work for JBoss EAP 6.
- Custom Handler not get disabled from jconsole?What could be the cause of the issue?
- We have a custom handler for DB logging configured on standalone.xml. When we tried to disable it via jconsole, It is changing in standalone.xml to enabled="false".But actually its not stopping logging.
jboss-as>>logging>>customlogger>>operations>>disable
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
