flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhangminglei <...@git.apache.org>
Subject [GitHub] flink pull request #5371: [FLINK-8357] [conf] Enable rolling in default log ...
Date Thu, 01 Feb 2018 02:16:35 GMT
Github user zhangminglei commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5371#discussion_r165244025
  
    --- Diff: flink-dist/src/main/flink-bin/conf/logback.xml ---
    @@ -17,8 +17,14 @@
       -->
     
     <configuration>
    -    <appender name="file" class="ch.qos.logback.core.FileAppender">
    +    <appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender">
             <file>${log.file}</file>
    +		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
    +			<!-- daily rollover -->
    +			<fileNamePattern>logFile.%d{yyyy-MM-dd}.log</fileNamePattern>
    --- End diff --
    
    Same as above.


---

Mime
View raw message