Repository: ambari Updated Branches: refs/heads/branch-2.1 052fe3392 -> 864a50f06 refs/heads/trunk ee53343d5 -> 35bc58de3
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/35bc58de Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/35bc58de Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/35bc58de Branch: refs/heads/trunk Commit: 35bc58de3e7e882e6607103fcc2f3ccd1b951ac5 Parents: ee53343 Author: Andrew Onishuk <aonis...@hortonworks.com> Authored: Tue Sep 1 18:02:49 2015 +0300 Committer: Andrew Onishuk <aonis...@hortonworks.com> Committed: Tue Sep 1 18:02:49 2015 +0300 ---------------------------------------------------------------------- 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/35bc58de/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 3a3cd23..25f7fa0 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()