Suppressing log statements in JBoss EAP

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.