diff options
author | Ralph Bean <rbean@redhat.com> | 2017-03-03 10:47:04 +0000 |
---|---|---|
committer | Ralph Bean <rbean@redhat.com> | 2017-03-03 10:47:04 +0000 |
commit | 3ef9769aadd033718f06e9f9006b02b2d2fac238 (patch) | |
tree | ba7d2d757f60f3c0cd5587aeac5980994b0cb822 | |
parent | 42f374b6ffd3b64584f7278fd2f42bf0d1e6959d (diff) | |
download | ansible-3ef9769aadd033718f06e9f9006b02b2d2fac238.tar.gz ansible-3ef9769aadd033718f06e9f9006b02b2d2fac238.tar.xz ansible-3ef9769aadd033718f06e9f9006b02b2d2fac238.zip |
Kill mbs-logging.py in favor of the new root logger.
-rw-r--r-- | roles/fedmsg/base/templates/logging.py.j2 | 2 | ||||
-rw-r--r-- | roles/mbs/common/tasks/main.yml | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/roles/fedmsg/base/templates/logging.py.j2 b/roles/fedmsg/base/templates/logging.py.j2 index d7fe83dcf..4be3fd991 100644 --- a/roles/fedmsg/base/templates/logging.py.j2 +++ b/roles/fedmsg/base/templates/logging.py.j2 @@ -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 %} ), ) diff --git a/roles/mbs/common/tasks/main.yml b/roles/mbs/common/tasks/main.yml index 0c2e57042..098069b52 100644 --- a/roles/mbs/common/tasks/main.yml +++ b/roles/mbs/common/tasks/main.yml @@ -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 |