Kill mbs-logging.py in favor of the new root logger.
This commit is contained in:
parent
42f374b6ff
commit
3ef9769aad
2 changed files with 5 additions and 4 deletions
|
@ -237,13 +237,11 @@ config = dict(
|
||||||
"handlers": ["console", "mailer"],
|
"handlers": ["console", "mailer"],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
{% if not inventory_hostname.startswith('mbs-backend') %}
|
|
||||||
# Root handler that deals with log messages that are not handled by the
|
# Root handler that deals with log messages that are not handled by the
|
||||||
# loggers explicitly configured in the `loggers` dict.
|
# loggers explicitly configured in the `loggers` dict.
|
||||||
root={
|
root={
|
||||||
"level": "{{fedmsg_loglevel}}",
|
"level": "{{fedmsg_loglevel}}",
|
||||||
"handlers": ["console", "mailer"],
|
"handlers": ["console", "mailer"],
|
||||||
},
|
},
|
||||||
{% endif %}
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
@ -15,8 +15,11 @@
|
||||||
- mbs
|
- mbs
|
||||||
- mbs/common
|
- mbs/common
|
||||||
|
|
||||||
- name: kill development config
|
- name: kill development configs
|
||||||
file: path=/etc/fedmsg.d/module_build_service.py state=absent
|
file: path=/etc/fedmsg.d/{{ item }} state=absent
|
||||||
|
with_items:
|
||||||
|
- module_build_service.py
|
||||||
|
- mbs-logging.py
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue