Suppressing entire log statements from "stdout", "stderr" or specific log category in JBoss EAP 6.x, 7.x, or 8.x
Issue
- How to disable entire log statements from the
stdoutlog category (System.out) and thestderrlog category (System.err) in the JBoss EAP 6/7/8? - How to suppress the
stdoutlog messages from server.log, but still output it to console output. -
We are dealing with vendor java software that is logging too much like the following stdout and filling up disk space. We needs to suppress these lines.
2018-09-05 15:08:41,777 INFO [stdout] (default task-47) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho 2018-09-05 15:08:41,777 INFO [stdout] (default task-47) Building the inner query ... 2018-09-05 15:08:41,808 INFO [stdout] (default task-47) No Filter Criterias, no where clause !! No need to fire inner query, as everything will be selected anyways ...dAccessorImpl.java:43) 2018-09-05 15:08:41,808 INFO [stdout] (default task-47) at java.lang.reflect.Method.invoke(Method.java:497) 2018-09-05 15:08:41,808 INFO [stdout] (default task-47) at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) 2018-09-05 15:08:41,808 INFO [stdout] (default task-47) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) 2018-09-05 15:08:41,808 INFO [stdout] (default task-47) at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:178) 2018-09-05 15:08:41,808 INFO [stdout] (default task-47) at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:68) -
How to disable entire log statements from the specific
com.example.xyzlog category in the JBoss EAP 6/7/8?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
- 8.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.