[ https://issues.apache.org/jira/browse/FLINK-19768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221147#comment-17221147 ]
Xintong Song commented on FLINK-19768: -------------------------------------- [~YUJIANBO], I don't think you can easily separate logs for different jobs in the same Flink session cluster. Since the jobs share the same Flink cluster, some of the framework activities cannot be separated. You can only separated the logs generated by user codes. To achieve that, you would need to set the environment variable {{FLINK_CONF_DIR}}, pointing to different directories containing different {{log4j.properties}} when submitting the jobs > The shell "./yarn-session.sh " not use log4j-session.properties , it use > log4j.properties > ------------------------------------------------------------------------------------------ > > Key: FLINK-19768 > URL: https://issues.apache.org/jira/browse/FLINK-19768 > Project: Flink > Issue Type: Bug > Components: Client / Job Submission, Deployment / YARN > Affects Versions: 1.11.2 > Reporter: YUJIANBO > Priority: Major > > The shell "./yarn-session.sh " not use log4j-session.properties , it use > log4j.properties > My Flink Job UI shows the $internal.yarn.log-config-file is > "/usr/local/flink-1.11.2/conf/log4j.properties", is it a bug? -- This message was sent by Atlassian Jira (v8.3.4#803005)