Enable Slf4jFormatShouldBeConst check.
Open
improvement
P3
tests
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 205
Description
This gives us better static analysis for logging, but there are many (\> 75) existing violations.
https://github.com/KengoTODA/findbugs-slf4j#slf4j_format_should_be_const
Imported from Jira [BEAM-10981](https://issues.apache.org/jira/browse/BEAM-10981). Original Jira may contain additional context.
Reported by: ibzib.
Contributor guide
Research direction
Start with the Slf4jFormatShouldBeConst documentation linked in the issue and locate Apache Beam's static-analysis configuration. Inventory the more than 75 existing violations, then enable the check and confirm that the Java analysis passes without those violations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100