[ https://issues.apache.org/jira/browse/FLINK-20526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246337#comment-17246337 ]
xiaozilong commented on FLINK-20526: ------------------------------------ The configuration scan is enabled by default for logback and default scan interval is 1 min. So we only changed the scan default value to 30s actually for logback. I think we can submit a new issue if there are users feedback the problem as you mentioned. What do you think? [~chesnay] > Enable logback scan configuration by default > -------------------------------------------- > > Key: FLINK-20526 > URL: https://issues.apache.org/jira/browse/FLINK-20526 > Project: Flink > Issue Type: Improvement > Components: Runtime / Configuration > Reporter: xiaozilong > Priority: Major > > We should enable this by default which same as FLINK-20510 > This my logback.xml > {code:java} > <configuration scan="true" scanPeriod="60 seconds"> > <appender name="Rolling_File" > class="ch.qos.logback.core.rolling.RollingFileAppender"> > <file>${log.file}</file> > <append>true</append> > <rollingPolicy > class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> > <fileNamePattern>${log.file}.%d{yyyy-MM-dd}.%i</fileNamePattern> > <minIndex>1</minIndex> > <maxIndex>10</maxIndex> > <maxFileSize>128MB</maxFileSize> > </rollingPolicy> > <encoder> > <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{60} > %X{sourceThread} - %msg%n</pattern> > </encoder> > </appender> > <!-- This affects logging for both user code and Flink --> > <root level="INFO"> > <appender-ref ref="Rolling_File"/> > </root> > <!-- Uncomment this if you want to only change Flink's logging --> > <logger name="org.apache.flink" level="INFO"/> > <!-- The following lines keep the log level of common libraries/connectors > on > log level INFO. The root logger does not override this. You have to > manually > change the log levels here. --> > <logger name="akka" level="INFO"/> > <logger name="org.apache.kafka" level="INFO"/> > <logger name="org.apache.hadoop" level="INFO"/> > <logger name="org.apache.zookeeper" level="INFO"/> > <!-- Suppress the irrelevant (wrong) warnings from the Netty channel > handler --> > <logger > name="org.apache.flink.shaded.akka.org.jboss.netty.channel.DefaultChannelPipeline" > level="ERROR"> > <appender-ref ref="Rolling_File"/> > </logger> > </configuration> > {code} > > -- This message was sent by Atlassian Jira (v8.3.4#803005)