flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] incubator-flink pull request: Respect log4j.properties in LocalEnv...
Date Mon, 01 Sep 2014 16:28:27 GMT
Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/106#discussion_r16960581
  
    --- Diff: flink-java/src/main/java/org/apache/flink/api/java/LocalEnvironment.java ---
    @@ -95,7 +95,9 @@ public boolean isLoggingEnabled() {
     	}
     	
     	private void initLogging() {
    -		LogUtils.initializeDefaultConsoleLogger(logging ? Level.INFO : Level.OFF);
    +		if(System.getProperty("log4j.properties") == null) {
    +			LogUtils.initializeDefaultConsoleLogger(logging ? Level.INFO : Level.OFF);
    --- End diff --
    
    Why not take the log level from the `log4j.properties` as well?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message