diff --git a/templates/gunicorn-instance.cfg.erb b/templates/gunicorn-instance.cfg.erb --- a/templates/gunicorn-instance.cfg.erb +++ b/templates/gunicorn-instance.cfg.erb @@ -2,8 +2,11 @@ # Managed by puppet (class gunicorn::instance <%= @name %>); changes will be lost import traceback + import gunicorn.glogging +from swh.core.api.gunicorn_config import * + class Logger(gunicorn.glogging.Logger): log_only_errors = <%= @log_only_errors_str %>