diff --git a/log4j/pom.xml b/log4j/pom.xml index dd5fc4021b..76c05b36c1 100644 --- a/log4j/pom.xml +++ b/log4j/pom.xml @@ -29,31 +29,21 @@ 2.6 - + com.lmax disruptor 3.3.4 - - - - - - - - - - - - - - - + + ch.qos.logback + logback-classic + 1.1.7 + diff --git a/log4j/src/main/resources/log4j.xml b/log4j/src/main/resources/log4j.xml index 05105cce8a..58a924f970 100644 --- a/log4j/src/main/resources/log4j.xml +++ b/log4j/src/main/resources/log4j.xml @@ -14,7 +14,7 @@ - + diff --git a/log4j/src/main/resources/log4j2.xml b/log4j/src/main/resources/log4j2.xml index 42f4e8d259..76a20bcd61 100644 --- a/log4j/src/main/resources/log4j2.xml +++ b/log4j/src/main/resources/log4j2.xml @@ -4,7 +4,7 @@ # Console appender # Pattern of log message for console appender - + # File appender @@ -19,7 +19,7 @@ - + diff --git a/log4j/src/main/resources/logback.xml b/log4j/src/main/resources/logback.xml index 0c50001890..fc66d560aa 100644 --- a/log4j/src/main/resources/logback.xml +++ b/log4j/src/main/resources/logback.xml @@ -1,28 +1,28 @@ - # Console appender - - - # Pattern of log message for console appender - %d{yyyy-MM-dd HH:mm:ss} %p %m%n - - + # Console appender + + + # Pattern of log message for console appender + %d{yyyy-MM-dd HH:mm:ss} %p %m%n + + - # File appender - - # Name of a log file - log4j/target/baeldung-logback.log - false - - # Pattern of log message for file appender - %d{yyyy-MM-dd HH:mm:ss} %p %m%n - - + # File appender + + # Name of a log file + log4j/target/baeldung-logback.log + false + + # Pattern of log message for file appender + %d{yyyy-MM-dd HH:mm:ss} %p %m%n + + - # Override log level for specified package - + # Override log level for specified package + - - - - + + + + \ No newline at end of file