Correct log message format in AbstractDriverManagerConnectionSource#3831
Correct log message format in AbstractDriverManagerConnectionSource#3831ppkarwasz merged 2 commits intoapache:2.xfrom
AbstractDriverManagerConnectionSource#3831Conversation
The debug log message in AbstractDriverManagerConnectionSource had 4 placeholders but was supplied with 5 arguments. This corrects the format string to match the argument count, resolving the warning. Fixes apache#3828
|
Hi @jhl221123, Could you please add a changelog entry to this PR? While it's just a one-liner, it addresses a concrete issue reported by a user and deserves to be documented. Also, we've noticed you've been actively contributing to Log4j since May—thank you for your continued efforts! We'd love to get to know you better and chat about ways you could get more involved with the project. If you're interested, feel free to send me a quick email or book a call via my Zeeg link—both are available on my profile. |
|
Hi @ppkarwasz, Thank you for the feedback and the very kind words! I've added the changelog entry as requested. I'm honored by the offer to connect and discuss getting more involved. I will definitely reach out via email shortly. |
…#3831) * Correct log message format in AbstractDriverManagerConnectionSource The debug log message in AbstractDriverManagerConnectionSource had 4 placeholders but was supplied with 5 arguments. This corrects the format string to match the argument count, resolving the warning. Fixes #3828 * Add changelog entry
The debug log message in
AbstractDriverManagerConnectionSourcehad 4 placeholders but was supplied with 5 arguments. This corrects the format string to match the argument count, resolving the warning.Fixes #3828
Checklist
Before we can review and merge your changes, please go through the checklist below. If you're still working on some items, feel free to submit your pull request as a draft—our CI will help guide you through the remaining steps.
✅ Required checks
License: I confirm that my changes are submitted under the Apache License, Version 2.0.
Commit signatures: All commits are signed and verifiable. (See GitHub Docs on Commit Signature Verification).
Code formatting: The code is formatted according to the project’s style guide.
How to check and fix formatting
./mvnw spotless:check./mvnw spotless:applySee the build instructions for details.
Build & Test: I verified that the project builds and all unit tests pass.
How to build the project
Run:
./mvnw verifySee the build instructions for details.
🧪 Tests (select one)
📝 Changelog (select one)
src/changelog/.2.x.x. (See Changelog Entry File Guide).