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

Use parameterized logging instead of string concatenation #1982

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

ppkarwasz
Copy link
Contributor

Our code should be an example to users. Therefore we can not use string concatenation in logging statements, but we should use parameterized logging.

This PR uses the Parameterize Log4j 2.x logging statements and is part of #1706.

Our code should be an example to users: we should never use string
concatenation in log messages.

This was performed using OpenRewrite and is related to apache#1706.
@ppkarwasz ppkarwasz merged commit 8d238bc into apache:main Nov 21, 2023
9 checks passed
@ppkarwasz ppkarwasz deleted the rewrite-parameterized branch November 21, 2023 16:37
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.

1 participant