Repository navigation
Strip $ suffix from logger names of Scala companion objects - #818
Conversation
- Use `this.getClass.getName.stripSuffix("$")` for loggers in Scala objects so log names match class names
- Import `LoggerFactory` explicitly in schedule strategy classes
- Add `log4j2.discardThreshold` to the list of keys not to be printed, since its value (usually `ERROR`) confuses log error scanners
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughLogger initialization now uses class-name strings with a trailing Scala object ChangesLogger Name Normalization
Configuration Redaction Key
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to
|
|
JaCoCo Coverage Report
Run 38525795884 · Event: |
LoggerFactoryexplicitly in schedule strategy classeslog4j2.discardThresholdto the list of keys not to be printed, since its value (usuallyERROR) confuses log error scannersOverview
Release Notes
this.getClass.getName.stripSuffix("$")for loggers in Scala objects so log names match class namesRelated
--
Summary by CodeRabbit