Home Java Logging

Logging

Fast Logback

I've been reading Logback documentation today and found an interesting moment about its speed of logging. Assuming we have set a logging level higher than DEBUG (INFO, WARN or ERROR) and then we try to log something like: This approach takes long time to calculate because independent of the fact that log statement may be disabled that calcualtion of String value...