From f3cb00b5835181ca21f381b13da04155946f8297 Mon Sep 17 00:00:00 2001 From: Dong Zhang Date: Fri, 10 Mar 2023 10:20:44 +0100 Subject: 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 --- zuul/driver/github/githubconnection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit v1.2.1