Move immediateFlush parameter to appender
<configuration>
<appender name="TestLogfile" class="ch.qos.logback.core.FileAppender">
<file>target/testlogback.log</file>
- <encoder>
<immediateFlush>false</immediateFlush>
+ <encoder>
<Pattern>%d %5p [%t] %c{0} %X{transactionId} - %m%n</Pattern>
</encoder>
</appender>
