bitbucket-push-and-pull-request-plugin icon indicating copy to clipboard operation
bitbucket-push-and-pull-request-plugin copied to clipboard

#334 - fix log message pattern to include parameter index

Open Gozke opened this issue 1 year ago • 0 comments

This is my fix for issue #334. I did a string search for {} and fixed the relevant occurences one by one.

Testing done

I created locally a log config to dump everything to the console and ran a few unit tests that were known to create the problematic log messages. My src/test/resources/logging.properties file looked like this:

handlers=java.util.logging.ConsoleHandler
.level=ALL
java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

Submitter checklist

  • [x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • [x] Ensure that the pull request title represents the desired changelog entry
  • [x] Please describe what you did
  • [x] Link to relevant issues in GitHub or Jira
  • [ ] Link to relevant pull requests, esp. upstream and downstream changes
  • [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Gozke avatar Jul 06 '24 14:07 Gozke