Improve bugzilla2fedmsg logging and increase heartbeat
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
60ee3db1fc
commit
7f0370ea4d
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ certfile = "/etc/pki/fedora-messaging/bugzilla2fedmsg-cert.pem"
|
||||||
queue = "/queue/Consumer.fedorainfra.DO-NOT-COPY.VirtualTopic.eng.bugzilla.>"
|
queue = "/queue/Consumer.fedorainfra.DO-NOT-COPY.VirtualTopic.eng.bugzilla.>"
|
||||||
|
|
||||||
# Heartbeat to keep the connection open
|
# Heartbeat to keep the connection open
|
||||||
heartbeat = 1000
|
heartbeat = 10000
|
||||||
|
|
||||||
# How many messages to prefetch
|
# How many messages to prefetch
|
||||||
prefetch_size = 100
|
prefetch_size = 100
|
||||||
|
@ -59,7 +59,7 @@ version = 1
|
||||||
disable_existing_loggers = true
|
disable_existing_loggers = true
|
||||||
|
|
||||||
[log_config.formatters.simple]
|
[log_config.formatters.simple]
|
||||||
format = "[%(name)s %(levelname)s] %(message)s"
|
format = "%(asctime)s [%(name)s %(levelname)s] %(message)s"
|
||||||
|
|
||||||
[log_config.handlers.console]
|
[log_config.handlers.console]
|
||||||
class = "logging.StreamHandler"
|
class = "logging.StreamHandler"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue