Suppressing log statements in JBoss EAP 4.x/5.x
Issue
- How can we suppress a message that is being written every 10 seconds and filling our logs?
- We need to prevent a certain log message, it's an error that we catch and handle later on but it leaves ERROR stacktraces in the log that we don't want.
- How can we remove hostnames/IP addresses from our server logs?
- How can we remove certain logs statements from our logs?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.