You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2016/11/09 19:24:48 UTC

[2/2] flink git commit: [hotfix] [web frontend] Reduce log level to DEBUG for requests againt unavailable jobs

[hotfix] [web frontend] Reduce log level to DEBUG for requests againt unavailable jobs

This reduces log noise by a lot in cases where browsers are kept open and re-request
the status of old jobs.


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

Branch: refs/heads/release-1.1
Commit: 32f7efc86c903b33e139721d65adfff43d138f62
Parents: 2041ba0
Author: Stephan Ewen <se...@apache.org>
Authored: Wed Nov 9 16:52:27 2016 +0100
Committer: Stephan Ewen <se...@apache.org>
Committed: Wed Nov 9 20:24:10 2016 +0100

----------------------------------------------------------------------
 .../org/apache/flink/runtime/webmonitor/RuntimeMonitorHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/32f7efc8/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..c248f5d 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,7 +100,7 @@ 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);