[ https://issues.apache.org/jira/browse/FLINK-10002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16744944#comment-16744944 ]
zhangxinyu commented on FLINK-10002: ------------------------------------ [~lining] Did you test it? If the log file length is smaller than the input number, it's expected to return the data from offset 0 to the length of the log file. Could you please show me the error? > WebUI shows logs unfriendly, especially when the amount of logs is large > ------------------------------------------------------------------------ > > Key: FLINK-10002 > URL: https://issues.apache.org/jira/browse/FLINK-10002 > Project: Flink > Issue Type: Improvement > Components: Webfrontend > Reporter: zhangxinyu > Assignee: zhangxinyu > Priority: Major > Labels: pull-request-available > Fix For: 1.8.0 > > Attachments: image-2018-09-10-11-38-07-973.png > > > When a streaming job run for a long time, the amount of logs may be very > large. The current WebUI shows all content of logs. It will cost much time to > download logs from task managers. and the browser cannot display the logs. > Therefore, I suggest that Flink uses DailyRollingAppender to split logs by > default, and task manager provides an API that can get logs based on a > parameter of time interval. In this way WebUI can display logs based on time > interval. -- This message was sent by Atlassian JIRA (v7.6.3#76005)