How to map levels of java.util.logging and SLF4J logger?
17,247
From the SLF4JBridgeHandler docs and testing (annotated with brackets):
[ALL -> TRACE]
FINEST -> TRACE
FINER -> DEBUG
FINE -> DEBUG
[CONFIG -> INFO]
INFO -> INFO
WARNING -> WARN
SEVERE -> ERROR
[OFF -> ERROR]
Author by
shashantrika
Updated on June 20, 2022Comments
-
shashantrika almost 2 years
How do logging levels from java.util.logging map to SLF4J?
SLF4J
- trace
- debug
- info
- warn
- error
- fatal
java.util.logging
- finest
- finer
- fine
- config
- info
- warning
- severe
-
Stefan Feuerhahn about 4 yearsalso level ALL maps to TRACE and level OFF to ERROR