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

[LOGMGR-207] Move message formatting responsibilities to the Formatter #202

Merged
merged 1 commit into from
Oct 25, 2018

Conversation

dmlloyd
Copy link
Member

@dmlloyd dmlloyd commented Oct 9, 2018

No description provided.

@dmlloyd
Copy link
Member Author

dmlloyd commented Oct 9, 2018

Copy link
Member

@jamezp jamezp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minus that one comment this looks good. I suppose it could be debated whether these filters should should use the formatted message or not. It is change in current behavior though.

As a side note introducing custom filters is something I'd like to look at allowing in WildFly.

msg = record.getMessage();
}
return pattern.matcher(String.valueOf(msg)).find();
return record != null && pattern.matcher(String.valueOf(record.getMessage())).find();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can do some testing here, but IIRC this was done so that the full formatted message could be matched.

@jamezp jamezp merged commit 5f6d408 into jboss-logging:master Oct 25, 2018
@dmlloyd dmlloyd deleted the logmgr-207 branch October 25, 2018 22:49
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