[toddlers] Don't use DEBUG log level on production
Don't overflow the log with DEBUG messages on production for toddlers. This is fine on staging, but on production this should be on demand. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
b56a7826c6
commit
022ac7036a
1 changed files with 20 additions and 0 deletions
|
@ -296,27 +296,47 @@ handlers = ["console"]
|
|||
|
||||
# Toddlers logger, feel free to bump the level to DEBUG if you need to
|
||||
[log_config.loggers.toddlers]
|
||||
{% if env == "staging" %}
|
||||
level = "DEBUG"
|
||||
{% else %}
|
||||
level = "INFO"
|
||||
{% endif %}
|
||||
propagate = false
|
||||
handlers = ["console"]
|
||||
|
||||
[log_config.loggers.toddlers.utils.bugzilla_system]
|
||||
{% if env == "staging" %}
|
||||
level = "DEBUG"
|
||||
{% else %}
|
||||
level = "INFO"
|
||||
{% endif %}
|
||||
propagate = false
|
||||
handlers = ["console"]
|
||||
|
||||
[log_config.loggers.toddlers.plugins.pdc_retired_packages]
|
||||
{% if env == "staging" %}
|
||||
level = "DEBUG"
|
||||
{% else %}
|
||||
level = "INFO"
|
||||
{% endif %}
|
||||
propagate = false
|
||||
handlers = ["console"]
|
||||
|
||||
[log_config.loggers.toddlers.plugins.pdc_import_compose]
|
||||
{% if env == "staging" %}
|
||||
level = "DEBUG"
|
||||
{% else %}
|
||||
level = "INFO"
|
||||
{% endif %}
|
||||
propagate = false
|
||||
handlers = ["console"]
|
||||
|
||||
[log_config.loggers.toddlers.plugins.distgit_bugzilla_sync]
|
||||
{% if env == "staging" %}
|
||||
level = "DEBUG"
|
||||
{% else %}
|
||||
level = "INFO"
|
||||
{% endif %}
|
||||
propagate = false
|
||||
handlers = ["console"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue