[ 
https://issues.apache.org/jira/browse/FLINK-20526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-20526:
-----------------------------------
      Labels: auto-deprioritized-major auto-deprioritized-minor  (was: 
auto-deprioritized-major stale-minor)
    Priority: Not a Priority  (was: Minor)

This issue was labeled "stale-minor" 7 days ago and has not received any 
updates so it is being deprioritized. If this ticket is actually Minor, please 
raise the priority and ask a committer to assign you the issue or revive the 
public discussion.


> 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: Not a Priority
>              Labels: auto-deprioritized-major, auto-deprioritized-minor
>
> 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.20.1#820001)

Reply via email to