Top "Logback" questions

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

Spring Boot - no log file written (logging.file is not respected)

I use Spring Boot and want it to write log output to a file. According to the docs, this is …

spring spring-boot logback slf4j
Where is logback encoder pattern documentation

I've gone through all the documentation of logback and I can't find anywhere the documentation to configure the encoder's pattern …

java logging log4j logback
Configure logback using several profiles

I´m trying to split my logback.xml by profiles under springboot, this my approach: logback-prod.xml <?xml version="1.0" …

spring-boot logback
How to prevent logback from outputting its own status at the start of every log when using a layout

This seems like a carelessness error, but I can't seem to find the cause. Logging with logback/slf4j (most …

logback
Setting logback.xml path programmatically

I know I can set the logback.xml path like this: Specifying the location of the default configuration file as …

java logback
file and stdout appenders in logback.xml

I have 2 logback.xml files in separate projects. One logs JDBC SQL to a file using a FileAppender and the …

java maven log4j logback
Spring Boot logging pattern

I have a problem with configuration on Logback in a Spring Boot application. I want my consoleAppender to look like …

spring spring-boot logback
JUL to SLF4J Bridge

I'm currently observing that a 3rd party library (namely restfb) is using java.util.logging and I'm seeing those logs …

java slf4j logback java.util.logging
Logback - set log file name programmatically

I am using logback, and I am trying to set the log file name programmatically within my Java program (similar …

java slf4j logback
SpringBoot with LogBack creating LOG_PATH_IS_UNDEFINED folder

I am using SpringBoot with LogBack and using the below configuration in my yml file: logging: path: C:/var/log/…

spring logback spring-boot