You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "lining (Jira)" <ji...@apache.org> on 2020/02/27 09:19:00 UTC

[jira] [Updated] (FLINK-13987) add new logs api, see more log files

     [ https://issues.apache.org/jira/browse/FLINK-13987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

lining updated FLINK-13987:
---------------------------
    Summary: add new logs api, see more log files  (was: add new logs api, see more log files and can see logs by pages )

> add new logs api, see more log files
> ------------------------------------
>
>                 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.
> As the application runs on JVM, sometimes the user needs to see the log of GC, but there isn't this content.
> Above all, we need new apis:
>  *  list taskmanager all log file
>  ** /taskmanagers/taskmanagerid/logs
>  ** 
> {code:java}
> {
>   "logs": [
>     {
>       "name": "taskmanager.log",
>       "size": 12529
>     }
>   ]
> } {code}
>  * read taskmanager log file
>  **  /taskmanagers/log/[filename]
>  ** response: same as taskmanager’s log
>  * list jobmanager all log file
>  ** /jobmanager/logs
>  ** 
> {code:java}
> {
>   "logs": [
>     {
>       "name": "jobmanager.log",
>       "size": 12529
>     }
>   ]
> }{code}
>  * read jobmanager log file
>  **  /jobmanager/log/[filename]
>  ** response: same as jobmanager's log



--
This message was sent by Atlassian Jira
(v8.3.4#803005)