Suppressing log statements in JBoss EAP 4.x/5.x

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content