summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDong Zhang <dong.zhang@bmw.de>2023-03-10 10:20:44 +0100
committerDong Zhang <dong.zhang@bmw.de>2023-03-23 08:40:25 +0100
commitf3cb00b5835181ca21f381b13da04155946f8297 (patch)
tree057171a6050b8236e99d08cdaf7f742f526233d7
parent0d35927e2c0a010aae92b8f08997b036c318d55a (diff)
downloadzuul-f3cb00b5835181ca21f381b13da04155946f8297.tar.gz
Add installation_id to event log
Occasionally we need to look into hanging event processing, with the installation_id to be included in the log, it would be easier to find out which events are blocked in waiting for the lock. Change-Id: I824e299501642b61a57883f4b37dc121f5ea0979
-rw-r--r--zuul/driver/github/githubconnection.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/zuul/driver/github/githubconnection.py b/zuul/driver/github/githubconnection.py
index cffbd6769..dcc2b4efd 100644
--- a/zuul/driver/github/githubconnection.py
+++ b/zuul/driver/github/githubconnection.py
@@ -403,7 +403,8 @@ class GithubEventProcessor(object):
# Returns empty on unhandled events
return
- self.log.debug("Handling %s event", self.event_type)
+ self.log.debug("Handling %s event with installation id %s",
+ self.event_type, installation_id)
events = []
try:
events = method()