GJL commented on a change in pull request #10850: [FLINK-15519][configuration] 
Preserve logs from BashJavaUtils and make them part of TM logs
URL: https://github.com/apache/flink/pull/10850#discussion_r367485549
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/util/EnvironmentInformation.java
 ##########
 @@ -270,14 +270,22 @@ public static void logEnvironmentInfo(Logger log, String 
componentName, String[]
                if (log.isInfoEnabled()) {
                        RevisionInformation rev = getRevisionInformation();
                        String version = getVersion();
-                       
+
                        String jvmVersion = getJvmVersion();
                        String[] options = getJvmStartupOptionsArray();
-                       
+
                        String javaHome = System.getenv("JAVA_HOME");
-                       
+
+                       String inheritedLogs = System.getenv("INHERITED_LOGS");
 
 Review comment:
   I would add a project specific prefix to the environment variable to avoid 
potential conflicts, i.e., `FLINK_INHERITED_LOGS`. WDYT?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to