diff --git a/roles/bodhi2/base/templates/logging.yaml b/roles/bodhi2/base/templates/logging.yaml index 49accc0c45..78f1467fef 100644 --- a/roles/bodhi2/base/templates/logging.yaml +++ b/roles/bodhi2/base/templates/logging.yaml @@ -11,7 +11,11 @@ filters: handlers: console: class: logging.StreamHandler - level: NOTSET +{% if env == "production" %} + level: INFO +{% else %} + level: DEBUG +{% endif %} formatter: generic smtp: class: logging.handlers.SMTPHandler