
logback / LOGBACK-1664 [Open] Missing logs with ConsoleAppender ============================== Here's what changed in this issue in the last few minutes. This issue has been created This issue is now assigned to you. View or comment on issue using this link https://jira.qos.ch/browse/LOGBACK-1664 ============================== Issue created ------------------------------ rex created this issue on 18/Aug/22 11:19 AM Summary: Missing logs with ConsoleAppender Issue Type: Bug Assignee: Logback dev list Created: 18/Aug/22 11:19 AM Priority: Blocker Reporter: rex Description: My application is deployed on k8s,I write logs to console so that I can get logs with *kubectl logs -f*. I have a method with Java which will print info logs , now I find that sometimes we couldn't find logs with kubectl logs -f - missing logs. Below is my config: {noformat} <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <Target>System.out</Target> <encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder"> <layout class="ch.qos.logback.contrib.json.classic.JsonLayout"> <jsonFormatter class="ch.qos.logback.contrib.jackson.JacksonJsonFormatter"> <prettyPrint>false</prettyPrint> </jsonFormatter> </layout> </encoder> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>INFO</level> </filter> </appender> <root level="INFO" > <appender-ref ref="CONSOLE" /> </root>{noformat} ============================== This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)