Log fedmsg at info for release-monitoring.org and try to fix the config
Once this is working fedmsg probably shouldn't log at info Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
parent
094b8ffe71
commit
a7f503e10a
1 changed files with 23 additions and 18 deletions
|
@ -73,28 +73,30 @@ items:
|
||||||
|
|
||||||
# The logging configuration, in dictConfig format.
|
# The logging configuration, in dictConfig format.
|
||||||
[anitya_log_config]
|
[anitya_log_config]
|
||||||
version = 1
|
version = 1
|
||||||
disable_existing_loggers = false
|
disable_existing_loggers = false
|
||||||
|
|
||||||
[anitya_log_config.formatters]
|
[anitya_log_config.formatters.simple]
|
||||||
[anitya_log_config.formatters.simple]
|
format = "[%(name)s %(levelname)s] %(message)s"
|
||||||
format = "[%(name)s %(levelname)s] %(message)s"
|
|
||||||
|
|
||||||
[anitya_log_config.handlers]
|
[anitya_log_config.handlers.console]
|
||||||
[anitya_log_config.handlers.console]
|
class = "logging.StreamHandler"
|
||||||
class = "logging.StreamHandler"
|
formatter = "simple"
|
||||||
formatter = "simple"
|
stream = "ext://sys.stdout"
|
||||||
stream = "ext://sys.stdout"
|
|
||||||
|
|
||||||
[anitya_log_config.loggers]
|
[anitya_log_config.loggers.anitya]
|
||||||
[anitya_log_config.loggers.anitya]
|
level = "INFO"
|
||||||
level = "INFO"
|
propagate = false
|
||||||
propagate = false
|
handlers = ["console"]
|
||||||
handlers = ["console"]
|
|
||||||
|
|
||||||
[anitya_log_config.root]
|
[anitya_log_config.loggers.fedmsg]
|
||||||
level = "ERROR"
|
level = "INFO"
|
||||||
handlers = ["console"]
|
propagate = false
|
||||||
|
handlers = ["console"]
|
||||||
|
|
||||||
|
[anitya_log_config.root]
|
||||||
|
level = "ERROR"
|
||||||
|
handlers = ["console"]
|
||||||
alembic.ini: |-
|
alembic.ini: |-
|
||||||
[alembic]
|
[alembic]
|
||||||
script_location = anitya:db/migrations
|
script_location = anitya:db/migrations
|
||||||
|
@ -152,8 +154,11 @@ items:
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
"environment": "stg",
|
"environment": "stg",
|
||||||
"relay_inbound": ["tcp://busgateway01.stg.phx2.fedoraproject.org:9941"],
|
"relay_inbound": ["tcp://busgateway01.stg.phx2.fedoraproject.org:9941"],
|
||||||
|
# Pointless because we don't listen for anything, but fedmsg explodes without it
|
||||||
|
"endpoints": {"staging_gateway": ['tcp://stg.fedoraproject.org:9940']},
|
||||||
{% else %}
|
{% else %}
|
||||||
"environment": "prod",
|
"environment": "prod",
|
||||||
"relay_inbound": ["tcp://busgateway01.phx2.fedoraproject.org:9941"],
|
"relay_inbound": ["tcp://busgateway01.phx2.fedoraproject.org:9941"],
|
||||||
|
"endpoints": {"production_gateway": ['tcp://fedoraproject.org:9940']},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue