Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.8.2
-
None
Description
_emphasized text_On line 166 HighlightConverter maps the level in the highlight style option to a Level using the single-argument toLevel(). This defaults to DEBUG if the level is not found. It needs to use getLevel() so it can get a null return value to report errors
final Level level = Level.toLevel(key);
should be
final Level level = Level.getLevel(key);
The error message should also be fixed to use Level.values() instead of DEFAULT_STYLES.keySet().toArray()