Kill mbs-logging.py in favor of the new root logger.

This commit is contained in:
Ralph Bean 2017-03-03 10:47:04 +00:00
parent 42f374b6ff
commit 3ef9769aad
2 changed files with 5 additions and 4 deletions

View file

@ -237,13 +237,11 @@ config = dict(
"handlers": ["console", "mailer"],
},
),
{% if not inventory_hostname.startswith('mbs-backend') %}
# Root handler that deals with log messages that are not handled by the
# loggers explicitly configured in the `loggers` dict.
root={
"level": "{{fedmsg_loglevel}}",
"handlers": ["console", "mailer"],
},
{% endif %}
),
)

View file

@ -15,8 +15,11 @@
- mbs
- mbs/common
- name: kill development config
file: path=/etc/fedmsg.d/module_build_service.py state=absent
- name: kill development configs
file: path=/etc/fedmsg.d/{{ item }} state=absent
with_items:
- module_build_service.py
- mbs-logging.py
notify:
- restart apache
- restart fedmsg-hub