Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for JBEAP-14320 #181

Merged
merged 1 commit into from
May 9, 2018
Merged

Conversation

adamecp
Copy link
Contributor

@adamecp adamecp commented Apr 6, 2018

JIRA task [https://issues.jboss.org/browse/JBEAP-14320](https://issues.jboss.org/browse/JBEAP-14320 - Amend NullPointerException in RegexFilter.isLoggable())

Description: When log message is null, RegexFilter.isLoggable() throws NullPointerException.

https://github.com/jboss-logging/jboss-logmanager/blob/master/src/main/java/org/jboss/logmanager/filters/RegexFilter.java#L63
It often results in unexpected outcomes. For example, assuming you have a filter-spec with "not(match(xxx))" to suppress some messages in your logger configuration...

@gaol gaol mentioned this pull request Apr 11, 2018
@jamezp jamezp force-pushed the JBEAP-14320-master branch from 8712151 to 397c1a4 Compare May 9, 2018 21:49
@jamezp jamezp merged commit 2b11dcd into jboss-logging:master May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants