Updated Branches: refs/heads/trunk 481b8ed37 -> 0a292cc86
AMBARI-3240. URLStreamProvider reads are flooding the log. Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/0a292cc8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/0a292cc8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/0a292cc8 Branch: refs/heads/trunk Commit: 0a292cc862875196ea4f256b0def4cd98b8fefc9 Parents: 481b8ed Author: Sumit Mohanty <[email protected]> Authored: Mon Sep 16 13:28:58 2013 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Mon Sep 16 13:28:58 2013 -0700 ---------------------------------------------------------------------- .../ambari/server/controller/internal/URLStreamProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/0a292cc8/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/URLStreamProvider.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/URLStreamProvider.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/URLStreamProvider.java index c6a267f..5a5ac2f 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/URLStreamProvider.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/URLStreamProvider.java @@ -77,8 +77,8 @@ public class URLStreamProvider implements StreamProvider { @Override public InputStream readFrom(String spec) throws IOException { - if (LOG.isInfoEnabled()) { - LOG.info("readFrom spec:" + spec); + if (LOG.isDebugEnabled()) { + LOG.debug("readFrom spec:" + spec); } HttpURLConnection connection = spec.startsWith("https") ?
