diff options
author | Dong Zhang <dong.zhang@bmw.de> | 2023-03-10 10:20:44 +0100 |
---|---|---|
committer | Dong Zhang <dong.zhang@bmw.de> | 2023-03-23 08:40:25 +0100 |
commit | f3cb00b5835181ca21f381b13da04155946f8297 (patch) | |
tree | 057171a6050b8236e99d08cdaf7f742f526233d7 /zuul/driver | |
parent | 0d35927e2c0a010aae92b8f08997b036c318d55a (diff) | |
download | zuul-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
Diffstat (limited to 'zuul/driver')
-rw-r--r-- | zuul/driver/github/githubconnection.py | 3 |
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() |