You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2015/09/02 21:54:39 UTC

ambari git commit: AMBARI-12962. New ambari-agent logging infra makes it difficult to attach a log4j appender (aonishuk)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1.1 40f819e6b -> 57ad39903


AMBARI-12962. New ambari-agent logging infra makes it difficult to attach a log4j appender (aonishuk)


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

Branch: refs/heads/branch-2.1.1
Commit: 57ad39903aec0857d1dda9cb66ab4fa2f2a3c29f
Parents: 40f819e
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Tue Sep 1 18:02:49 2015 +0300
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Wed Sep 2 12:52:35 2015 -0700

----------------------------------------------------------------------
 ambari-agent/src/main/python/ambari_agent/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/57ad3990/ambari-agent/src/main/python/ambari_agent/main.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/ambari_agent/main.py b/ambari-agent/src/main/python/ambari_agent/main.py
index 3c2933e..fb5b4b1 100644
--- a/ambari-agent/src/main/python/ambari_agent/main.py
+++ b/ambari-agent/src/main/python/ambari_agent/main.py
@@ -45,7 +45,7 @@ from ambari_commons import shell
 import HeartbeatHandlers
 from HeartbeatHandlers import bind_signal_handlers
 from ambari_commons.constants import AMBARI_SUDO_BINARY
-logger = logging.getLogger(__name__)
+logger = logging.getLogger()
 
 formatstr = "%(levelname)s %(asctime)s %(filename)s:%(lineno)d - %(message)s"
 agentPid = os.getpid()