瀏覽代碼

AMBARI-520. Disable all debug console logging on the browser (Contributed by Yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1347370 13f79535-47bb-0310-9956-ffa450edef68
Vikram Dixit K 13 年之前
父節點
當前提交
b1886ff1a4
共有 2 個文件被更改,包括 5 次插入0 次删除
  1. 2 0
      CHANGES.txt
  2. 3 0
      hmc/html/bootstrapJs.htmli

+ 2 - 0
CHANGES.txt

@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-520. Disable all debug console logging on the browser (Yusaku via Vikram)
+
   AMBARI-517. Dashboard shows HDFS is down though it's still running (Suhas via Vikram)
 
   AMBARI-511. Fix for previous patch (Jitendra via Vikram)

+ 3 - 0
hmc/html/bootstrapJs.htmli

@@ -15,4 +15,7 @@
       document.getElementsByTagName("head")[0].appendChild(dynamicJsScript);
     }
   });
+
+  // disable console logging
+  globalYui.log = function () {};
 </script>