[ https://issues.apache.org/jira/browse/FLINK-13987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044241#comment-17044241 ]
lining commented on FLINK-13987: -------------------------------- As FLIP-103 has approved, could someone assign it to me? > add new logs api, see more log files and can see logs by pages > --------------------------------------------------------------- > > Key: FLINK-13987 > URL: https://issues.apache.org/jira/browse/FLINK-13987 > Project: Flink > Issue Type: New Feature > Components: Runtime / REST > Reporter: lining > Priority: Major > > As the job running, the log files are becoming large. > Current log API returns all contents,it will block or not work when the file > is large. It's unfriendly for the user. > As the application runs on JVM, sometimes the user needs to see the log of > GC, but there aren't this contents. > Above all, we need new apis: > * list taskmanager all log file > ** /taskmanagers/taskmanagerid/logs > ** > {code:java} > { > "logs": [ > { > "name": "taskmanager.log", > "size": 12529 > } > ] > } {code} > * see taskmanager log file by range > ** /taskmanagers/taskmanagerid/logs/:filename?start=[start]&count=[count] > ** > {code:java} > { > "data": "logcontent", > "file_size": 342882 > } > {code} > * list jobmanager all log file > ** /jobmanager/logs > ** > {code:java} > { > "logs": [ > { > "name": "jobmanager.log", > "size": 12529 > } > ] > } > {code} > * see jobmanager log file by range > ** /jobmanager/logs/:filename?start=[start]&count=[count] > ** > {code:java} > { > "data": "logcontent", > "file_size": 342882 > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)