From 7f0370ea4dd2fd496a8aa7c3a24342f494de4169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 25 Jun 2024 08:18:50 +0200 Subject: [PATCH] Improve bugzilla2fedmsg logging and increase heartbeat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .../bugzilla2fedmsg/templates/fedora-messaging.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/bugzilla2fedmsg/templates/fedora-messaging.toml b/roles/openshift-apps/bugzilla2fedmsg/templates/fedora-messaging.toml index dd81d03dd2..664fcc4dfa 100644 --- a/roles/openshift-apps/bugzilla2fedmsg/templates/fedora-messaging.toml +++ b/roles/openshift-apps/bugzilla2fedmsg/templates/fedora-messaging.toml @@ -38,7 +38,7 @@ certfile = "/etc/pki/fedora-messaging/bugzilla2fedmsg-cert.pem" queue = "/queue/Consumer.fedorainfra.DO-NOT-COPY.VirtualTopic.eng.bugzilla.>" # Heartbeat to keep the connection open - heartbeat = 1000 + heartbeat = 10000 # How many messages to prefetch prefetch_size = 100 @@ -59,7 +59,7 @@ version = 1 disable_existing_loggers = true [log_config.formatters.simple] -format = "[%(name)s %(levelname)s] %(message)s" +format = "%(asctime)s [%(name)s %(levelname)s] %(message)s" [log_config.handlers.console] class = "logging.StreamHandler"