Yonathan Randolph Regarding the last sentence in your comment above, LevelChangePropagator propagates changes from logback to jul but not in the other direction. Thus, I am not sure I agree with the last sentence. The mapping performed by `SLF4JBridgeHandler` is defined in the javadoc (albeit the mapping for CONFIG is not mentioned). The logback to jul level mapping you propose, e.g. INFO → FINE + 1 = 501, "rounds down" which is as arbitrary as "rounding up" (for FINER and CONFIG). The advantage of rounding is the the simplicity of the mapping rule. To cut a long story short, a user who wishes to log at the JUL CONFIG level can set the relevant logger to DEBUG in logback. |