You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yadong Xie (Jira)" <ji...@apache.org> on 2019/09/06 08:45:00 UTC
[jira] [Commented] (FLINK-13987) add new logs api, see more log
files and can see logs by pages
[ https://issues.apache.org/jira/browse/FLINK-13987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924055#comment-16924055 ]
Yadong Xie commented on FLINK-13987:
------------------------------------
+1 for this proposal
logs with pagination is more user friendly
> 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 file is large.It's unfriendly for user.
> As application runs on jvm, sometime user need see log of gc, but there aren't this contents.
> Above all, we need new apis:
> * /taskmanagers/taskmanagerid/logs -> list all log file
> * /taskmanagers/taskmanagerid/logs/:filename?start=[start]&count=[count]
> * /jobmanager/logs -> list all log file
> * /jobmanager/logs/:filename?start=[start]&count=[count]
--
This message was sent by Atlassian Jira
(v8.3.2#803003)