[ 
https://issues.apache.org/jira/browse/FLINK-17527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100926#comment-17100926
 ] 

Till Rohrmann commented on FLINK-17527:
---------------------------------------

Ah I think I understand now what the difference is. For the {{yarn-session.sh}} 
and {{kubernetes-session.sh}} we want to output log statements to the console. 
Maybe this is something we should/could rethink at a later point. In that case 
we should unify the log properties file of {{yarn-session.sh}} and 
{{kubernetes-session.sh}} as the minimal step. Maybe we could reuse 
{{log4j-yarn-session.properties}} and simply rename it into 
{{log4j-session.properties}}.



> kubernetes-session.sh uses log4j-console.properties
> ---------------------------------------------------
>
>                 Key: FLINK-17527
>                 URL: https://issues.apache.org/jira/browse/FLINK-17527
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.10.0
>            Reporter: Till Rohrmann
>            Priority: Major
>             Fix For: 1.11.0, 1.10.2
>
>
> It is a bit confusing that {{kubernetes-session.sh}} uses the 
> {{log4j-console.properties}}.  At the moment, {{flink}} used 
> {{log4j-cli.properties}}, {{yarn-session.sh}} uses 
> {{log4j-yarn-session.properties}} and {{kubernetes-session.sh}} uses 
> {{log4j-console.properties}}.
> I would suggest to let all scripts use the same logger configuration file 
> (e.g. {{logj4-cli.properties}}.



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

Reply via email to