You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2015/10/07 23:12:18 UTC

ambari git commit: Revert "AMBARI-13307. Agent instance memory footprint likely gradually growing (aonishuk)"

Repository: ambari
Updated Branches:
  refs/heads/trunk 998c17132 -> 3c8bf9de2


Revert "AMBARI-13307. Agent instance memory footprint likely gradually growing (aonishuk)"

This reverts commit b8be80b08cf50436fb1285b5deaa6a4ca8fe8739.


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3c8bf9de
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3c8bf9de
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3c8bf9de

Branch: refs/heads/trunk
Commit: 3c8bf9de2afaab2e4894e875d9f2cd44a9a7eab6
Parents: 998c171
Author: Jonathan Hurley <jh...@hortonworks.com>
Authored: Wed Oct 7 14:03:42 2015 -0700
Committer: Jonathan Hurley <jh...@hortonworks.com>
Committed: Wed Oct 7 14:12:11 2015 -0700

----------------------------------------------------------------------
 ambari-common/src/main/python/resource_management/core/logger.py | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3c8bf9de/ambari-common/src/main/python/resource_management/core/logger.py
----------------------------------------------------------------------
diff --git a/ambari-common/src/main/python/resource_management/core/logger.py b/ambari-common/src/main/python/resource_management/core/logger.py
index 0ea34ff..7642c6d 100644
--- a/ambari-common/src/main/python/resource_management/core/logger.py
+++ b/ambari-common/src/main/python/resource_management/core/logger.py
@@ -37,10 +37,6 @@ class Logger:
   @staticmethod
   def initialize_logger(name='resource_management', logging_level=logging.INFO, format='%(asctime)s - %(message)s'):
     # set up logging (two separate loggers for stderr and stdout with different loglevels)
-    
-    if Logger.logger:
-      return
-    
     logger = logging.getLogger(name)
     logger.setLevel(logging_level)
     formatter = logging.Formatter(format)