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

lining updated FLINK-13987:
---------------------------
    Description: 
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

  was:
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


> 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.
> 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)

Reply via email to