This was causing double log statements for mbs.
This commit is contained in:
parent
32c40cefec
commit
aede96f1b7
1 changed files with 2 additions and 0 deletions
|
@ -237,11 +237,13 @@ 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 %}
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue