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

Log messages with partially missing parameters #2380

Closed
ppkarwasz opened this issue Mar 14, 2024 · 2 comments · Fixed by #2393
Closed

Log messages with partially missing parameters #2380

ppkarwasz opened this issue Mar 14, 2024 · 2 comments · Fixed by #2393
Assignees
Labels
api Affects the public API bug Incorrect, unexpected, or unintended behavior of existing code
Milestone

Comments

@ppkarwasz
Copy link
Contributor

Log4j version 2.20.0 did also log messages with missing parameters. A call like:

logger.info("{}, {} and {}", 1, 2);

resulted in a partially replaced message: 1, 2, and {}.

The behavior changed in 2.21.0 and should be restored for backward compatibility.

@ppkarwasz ppkarwasz added this to the 2.24.0 milestone Mar 14, 2024
@ppkarwasz ppkarwasz added the bug Incorrect, unexpected, or unintended behavior of existing code label Mar 14, 2024
@SeasonPanPan
Copy link
Contributor

I will work on this issue #2380 .

@ppkarwasz
Copy link
Contributor Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Affects the public API bug Incorrect, unexpected, or unintended behavior of existing code
Projects
None yet
3 participants