This is an automated email from the ASF dual-hosted git repository.

rmetzger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 0632600  [FLINK-12306][Runtime] Change the name of log into LOG
0632600 is described below

commit 06326007da509a6dcd3c64c13f7286d0bbcb6179
Author: Zi Li <820972...@qq.com>
AuthorDate: Sat Apr 27 10:31:09 2019 +0800

    [FLINK-12306][Runtime] Change the name of log into LOG
---
 .../java/org/apache/flink/runtime/rpc/MainThreadValidatorUtil.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/flink-runtime/src/main/java/org/apache/flink/runtime/rpc/MainThreadValidatorUtil.java
 
b/flink-runtime/src/main/java/org/apache/flink/runtime/rpc/MainThreadValidatorUtil.java
index c2e2b7d..b380e2d 100644
--- 
a/flink-runtime/src/main/java/org/apache/flink/runtime/rpc/MainThreadValidatorUtil.java
+++ 
b/flink-runtime/src/main/java/org/apache/flink/runtime/rpc/MainThreadValidatorUtil.java
@@ -34,7 +34,7 @@ import static 
org.apache.flink.util.Preconditions.checkNotNull;
  */
 public final class MainThreadValidatorUtil {
 
-       private static final Logger log = 
LoggerFactory.getLogger(MainThreadValidatorUtil.class);
+       private static final Logger LOG = 
LoggerFactory.getLogger(MainThreadValidatorUtil.class);
 
        private final RpcEndpoint endpoint;
 
@@ -65,7 +65,7 @@ public final class MainThreadValidatorUtil {
                        String violationMsg = "Violation of main thread 
constraint detected: expected <"
                                + expected + "> but running in <" + actual + 
">.";
 
-                       log.warn(violationMsg, new Exception(violationMsg));
+                       LOG.warn(violationMsg, new Exception(violationMsg));
 
                        return false;
                }

Reply via email to