You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2020/10/28 06:25:00 UTC
[jira] [Closed] (FLINK-8357) enable rolling in default log settings
[ https://issues.apache.org/jira/browse/FLINK-8357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Metzger closed FLINK-8357.
---------------------------------
Fix Version/s: 1.12.0
Release Note: The default log4j configuration has changed: Besides the existing rolling of log files on startup of Flink, they also roll once they've reached a size of 100MB. Flink keeps a total of 10 log files, effectively limiting the total size of the log directory to 1GB (per Flink service logging to that directory)
Resolution: Fixed
> 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: pull-request-available, usability
> Fix For: 1.12.0
>
> 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)