How to filter / remove specific logging message in JBoss EAP 6 / 7 ?
Issue
- How to remove specific logging message from log file
- How can we filter out an undesirable message from our logs? We have a warning message that occurs very frequently and is cluttering up the file.
- We need to prevent a certain log message, from showing up in the logs
- How can we remove certain logs statements from our logs?
- In EAP 5 we defined appenders with custom filters, to suppress specific log entries. What is the equivalent in EAP 6/7?
- We would like to mute certain exception messages in our logs, how can we do this?
- In domain mode, unable to add a log filter with a double quote. When deployed in Linux server, the domain could not start while using :
:
/profile=full-ha/subsystem=logging/periodic-size-rotating-file-handler=FILE/:write-attribute(name=filter-spec,value= "not(match("IJ000604"))")
- Replacing Logback with JBoss logging leads to difference between the log formats
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.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.
