[ https://issues.apache.org/jira/browse/FLINK-8357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17196043#comment-17196043 ]
Jörn Kottmann commented on FLINK-8357: -------------------------------------- Sounds good to me, you are right the time based rotations is not nice for low log volumes. If the file is rotated based on size which file name pattern would you like to see used? In my case the log file is copied to S3 and it would be nice if the file name for each rotated file could be unique e.g. log file name plus a timestamp. > enable rolling in default log settings > -------------------------------------- > > Key: FLINK-8357 > URL: https://issues.apache.org/jira/browse/FLINK-8357 > Project: Flink > Issue Type: Improvement > Components: Build System, Deployment / Scripts > Reporter: Mingmin Xu > Assignee: Jörn Kottmann > Priority: Major > Labels: usability > Time Spent: 10m > Remaining Estimate: 0h > > The release packages uses {{org.apache.log4j.FileAppender}} for log4j and > {{ch.qos.logback.core.FileAppender}} for logback, which could results in very > large log files. > For most cases, if not all, we need to enable rotation in a production > cluster, and I suppose it's a good idea to make rotation as default. -- This message was sent by Atlassian Jira (v8.3.4#803005)