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

[jira] [Updated] (FLINK-13987) add log list and read log by name

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

Gary Yao updated FLINK-13987:
-----------------------------
    Fix Version/s: 1.11.0

> add log list and read log by name
> ---------------------------------
>
>                 Key: FLINK-13987
>                 URL: https://issues.apache.org/jira/browse/FLINK-13987
>             Project: Flink
>          Issue Type: New Feature
>          Components: Runtime / REST
>            Reporter: lining
>            Assignee: lining
>            Priority: Major
>             Fix For: 1.11.0
>
>
> 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/logs/[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/logs/[filename]
>  ** response: same as jobmanager's log



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