wangyang0918 commented on code in PR #22491:
URL: https://github.com/apache/flink/pull/22491#discussion_r1178864770


##########
flink-dist/src/main/flink-bin/bin/flink-console.sh:
##########
@@ -116,4 +117,5 @@ echo $$ >> "$pid" 2>/dev/null
 # Evaluate user options for local variable expansion
 FLINK_ENV_JAVA_OPTS=$(eval echo ${FLINK_ENV_JAVA_OPTS})
 
+exec 1>"${out}"

Review Comment:
   Given that we are using `log4j-console.properties` for the log 
configuration, all the Flink logs will also be mirrored to the stdout. Then we 
will have duplicated logs for `*.log` and `*.out`.
   
   Actually, we already have some discussion about the `.out` file in this PR 
https://github.com/apache/flink/pull/11839.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to