Repository: flink
Updated Branches:
  refs/heads/master 12dc39ec6 -> d618b13e8


[FLINK-4269] [webfrontend] Decrease log level in RuntimeMonitorHandler

This closes #2307.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/d618b13e
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/d618b13e
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/d618b13e

Branch: refs/heads/master
Commit: d618b13e8ce21a965a01d47e90eb607211a09bdc
Parents: 12dc39e
Author: Aditi Viswanathan <[email protected]>
Authored: Fri Jul 29 10:31:52 2016 +0545
Committer: zentol <[email protected]>
Committed: Fri Jul 29 14:28:21 2016 +0200

----------------------------------------------------------------------
 .../apache/flink/runtime/webmonitor/RuntimeMonitorHandler.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/d618b13e/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/RuntimeMonitorHandler.java
----------------------------------------------------------------------
diff --git 
a/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/RuntimeMonitorHandler.java
 
b/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/RuntimeMonitorHandler.java
index be7f952..6816440 100644
--- 
a/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/RuntimeMonitorHandler.java
+++ 
b/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/RuntimeMonitorHandler.java
@@ -100,14 +100,14 @@ public class RuntimeMonitorHandler extends 
RuntimeMonitorHandlerBase {
                                        : 
Unpooled.wrappedBuffer(e.getMessage().getBytes(ENCODING));
                        response = new 
DefaultFullHttpResponse(HttpVersion.HTTP_1_1, HttpResponseStatus.NOT_FOUND, 
message);
                        response.headers().set(HttpHeaders.Names.CONTENT_TYPE, 
"text/plain");
-                       LOG.warn("Error while handling request", e);
+                       LOG.debug("Error while handling request", e);
                }
                catch (Exception e) {
                        byte[] bytes = 
ExceptionUtils.stringifyException(e).getBytes(ENCODING);
                        response = new 
DefaultFullHttpResponse(HttpVersion.HTTP_1_1,
                                        
HttpResponseStatus.INTERNAL_SERVER_ERROR, Unpooled.wrappedBuffer(bytes));
                        response.headers().set(HttpHeaders.Names.CONTENT_TYPE, 
"text/plain");
-                       LOG.warn("Error while handling request", e);
+                       LOG.debug("Error while handling request", e);
                }
 
                response.headers().set(HttpHeaders.Names.CONTENT_ENCODING, 
"utf-8");

Reply via email to