Updated Branches: refs/heads/trunk f9310d629 -> 4b6ae77bb
AMBARI-2998. URLStreamProvider priniting too many log messages. (swagle) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/4b6ae77b Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/4b6ae77b Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/4b6ae77b Branch: refs/heads/trunk Commit: 4b6ae77bb668167741bcfa87daf19423fbb827e5 Parents: 48046ae Author: Siddharth Wagle <[email protected]> Authored: Thu Aug 22 15:04:45 2013 -0700 Committer: Siddharth Wagle <[email protected]> Committed: Thu Aug 22 15:06:36 2013 -0700 ---------------------------------------------------------------------- .../ambari/server/controller/internal/URLStreamProvider.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/4b6ae77b/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 12a0ac6..db52a4f 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 @@ -88,9 +88,7 @@ public class URLStreamProvider implements StreamProvider { String appCookie = appCookieManager.getCachedAppCookie(spec); if (appCookie != null) { - if (LOG.isInfoEnabled()) { - LOG.info("Using cached app cookie for URL:" + spec); - } + LOG.debug("Using cached app cookie for URL:" + spec); connection.setRequestProperty(COOKIE, appCookie); } connection.setConnectTimeout(connTimeout);
