Home Java Logging


https://speakerdeck.com/vitalieb/efficient-logs-with-elastic-stackDemo code available at https://github.com/vitalieb/ElasticStackPresentation

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: Object someObject = new Object(); Logger log = LoggerFactory.getLogger("com.foo"); log.debug("Message about" + String.valueOf(object)); This approach takes long time to calculate because independent of the fact that...