Browse Source

AMBARI-2998. URLStreamProvider priniting too many log messages. (swagle)

Siddharth Wagle 12 năm trước cách đây
mục cha
commit
4b6ae77bb6

+ 1 - 3
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);
     String appCookie = appCookieManager.getCachedAppCookie(spec);
     if (appCookie != null) {
     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.setRequestProperty(COOKIE, appCookie);
     }
     }
     connection.setConnectTimeout(connTimeout);
     connection.setConnectTimeout(connTimeout);