Top "Logback" questions

Modern logging facility for Java-based programs with many new features when compared to Log4J and java.

How to inject active spring profile into logback

I'm using a spring boot project. Environment: ch.qos.logback:logback-core:jar:1.1.5 ch.qos.logback:logback-classic:jar:1.1.5 org.springframework.boot:…

java spring spring-boot logback spring-profiles
Is it possible to find logback log files programmatically?

It would be useful to automatically attach log files to support emails. I could set the path programmatically (as in …

java logging logback
What's Up with Logging in Java?

Why one would use one of the following packages instead of the other? Java Logging Commons Logging Log4j SLF4…

java logging log4j logback slf4j
Is there a recommended way to get spring boot to JSON format logs with logback

Using spring boot 2.1.1.RELEASE one can seemingly format logs as JSON by providing a logback-spring.xml file as follows: <…

spring-boot logging logback spring-logback logz.io
LogStash - Failed to instantiate type net.logstash.logback.appender.LogstashTcpSocketAppender

I am working on Springboot Microservcies & for monitoring Im using ELK Stack. I am using docker containers for running …

spring-boot logstash logback elastic-stack logstash-grok
Logback: "Could not find Janino library on the class path"

I'm getting error message Could not find Janino library on the class path. Skipping conditional processing. What should I incude …

logback janino
Lambda support for SLF4J API

In Log4j latest API we have Lambda support where I can manage the Debug option easily. Example: logger.debug("…

java logback slf4j
Mask Passwords with Logback?

We currently generically log all XML documents coming in and going out of our system, and some of them contain …

java logging passwords masking logback
SLF4J + logback + JBoss 7?

Has anyone got SLF4J / logback to work with JBoss 7? Previously, I was able to get my app to work …

java jboss jboss7.x slf4j logback
Dropwizard doesn't log custom loggers to file

I have a dropwizard app, where I configured logger appenders to file as follows: logging: level: INFO loggers: "mylogger": INFO "…

java logging slf4j logback dropwizard