mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-11 18:37:25 +08:00
Log tidying.
This commit is contained in:
@@ -291,7 +291,7 @@ chmod 644 %buildroot/%_rpmconfigdir/macro.modules
|
||||
koji_config.krbservice = krbservice
|
||||
|
||||
address = koji_config.server
|
||||
log.info("Connecting to koji %r, %r" % (address, koji_config))
|
||||
log.info("Connecting to koji %r" % address)
|
||||
koji_session = koji.ClientSession(address, opts=vars(koji_config))
|
||||
|
||||
authtype = koji_config.authtype
|
||||
|
||||
@@ -175,9 +175,10 @@ class MessageWorker(threading.Thread):
|
||||
|
||||
# Execute our chosen handler
|
||||
with rida.database.Database(config) as session:
|
||||
log.info(" %r: %s, %s" % (handler, msg['topic'], msg['msg_id']))
|
||||
log.info(" %s: %s, %s" % (handler.__name__, msg['topic'], msg['msg_id']))
|
||||
handler(config, session, msg)
|
||||
|
||||
|
||||
class Poller(threading.Thread):
|
||||
def __init__(self, outgoing_work_queue, *args, **kwargs):
|
||||
self.outgoing_work_queue = outgoing_work_queue
|
||||
|
||||
Reference in New Issue
Block a user