Copy a logging config file for the fedmsg-hub (bodhi2).

This commit is contained in:
Ralph Bean 2015-08-18 21:47:03 +00:00
parent 95335c056b
commit 8ed37dd8ab
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# This should get merged smartly with the site-wide fedmsg.d/logging.py we have
# installed everywhere.
config = dict(
logging=dict(
loggers=dict(
bodhi={
"level": "DEBUG",
"propagate": False,
"handlers": ["console", "mailer"],
},
bodhi={
"level": "WARN",
"propagate": False,
"handlers": ["console", "mailer"],
},
root={
"level": "INFO",
"propagate": False,
"handlers": ["console", "mailer"],
},
),
),
)

View file

@ -58,6 +58,18 @@
- config
- bodhi
- name: Copy a logging configuration in for the fedmsg-hub
copy: >
src=bodhi-logging.py
dest=/etc/fedmsg.d/bodhi-logging.py
owner=root
group=root
mode=0644
notify:
- restart fedmsg-hub
tags:
- config
- bodhi
- name: setup basic /etc/httpd/conf.d/ bodhi contents
template: >