liuzhiqiang created LOGBACK-1495: ------------------------------------ Summary: logevent can not be written into file when config file is loading Key: LOGBACK-1495 URL: https://jira.qos.ch/browse/LOGBACK-1495 Project: logback Issue Type: Bug Components: logback-core Affects Versions: 1.2.3 Environment: slf4j-api-1.7.29
logback-core-1.2.3 logback-classic-1.2.3 Reporter: liuzhiqiang Assignee: Logback dev list Priority: Critical first,use jdb command to start the log program then set some breakpoints as follows: stop at ch.qos.logback.core.spi.AppenderAttachableImpl:50 stop at ch.qos.logback.core.spi.AppenderAttachableImpl:51 stop at ch.qos.logback.core.joran.spi.ConfigurationWatchList:83 stop at ch.qos.logback.core.spi.AppenderAttachableImpl:109 run ----------------------------------------------- hit breakpoint ch.qos.logback.core.spi.AppenderAttachableImpl:50 find main thread id, suspend 【main thread id】, execute cont command hit breakpoint ch.qos.logback.core.joran.spi.ConfigurationWatchList:83 now ,let us change our config file ,save it, go back to debug tool interface,execute cont command hit breakpoint ch.qos.logback.core.spi.AppenderAttachableImpl:109 execute next command, appenderList will be cleared, suspend current thread id, and resume main thread, then let us execute cont command hit breakpoint ch.qos.logback.core.spi.AppenderAttachableImpl:51 step debug from here, u can find something as follows: !https://oscimg.oschina.net/oscnet/up-4bb53de3e7d503199323c2cd8ec0b7ad4d8.png! -- This message was sent by Atlassian JIRA (v7.3.1#73012) _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev