Skip to content

Commit

Permalink
[FLINK-12306][Runtime] Change the name of log into LOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Kejian-Li authored and rmetzger committed Apr 30, 2019
1 parent ee60846 commit 0632600
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*/
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;

Expand Down Expand Up @@ -65,7 +65,7 @@ public static boolean isRunningInExpectedThread(@Nullable Thread expected) {
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;
}
Expand Down

0 comments on commit 0632600

Please sign in to comment.