[
https://issues.apache.org/jira/browse/FLINK-17166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17088254#comment-17088254
]
Yang Wang commented on FLINK-17166:
-----------------------------------
After a long consideration, i think we could use {{System.setOut}} and
{{System.setErr}} to redirect the {{PrintStream}} to log4j logger. Then we
could output the stdout/stderr to console and file at the same time. I think
this is a better solution and will attach a PR to implement.
> Modify the log4j-console.properties to also output logs into the files for
> WebUI
> --------------------------------------------------------------------------------
>
> Key: FLINK-17166
> URL: https://issues.apache.org/jira/browse/FLINK-17166
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Configuration
> Reporter: Andrey Zagrebin
> Assignee: Yang Wang
> Priority: Major
> Fix For: 1.11.0
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)