Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12962

New ambari-agent logging infra makes it difficult to attach a log4j appender

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2
    • Component/s: None
    • Labels:
      None

      Description

      the logger used in a lot of the python scripts under ambari_agent are changed
      from root logger to module logger.
      We need the configuration of logger (add handlers, etc) in main.py to be root
      logger so we can get logs in syslog.

      See - AMBARI-235(https://hwxmonarch.atlassian.net/browse/AMBARI-235)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aonishuk Andrew Onischuk
                Reporter:
                aonishuk Andrew Onischuk
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: