From 7d16f3f30aa329a76a65951c098e675414513dc5 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 28 Oct 2022 17:03:25 +0200 Subject: [PATCH] Changing debug output --- lib/webhooks/deploy.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/webhooks/deploy.py b/lib/webhooks/deploy.py index fcd59d3..d48212a 100644 --- a/lib/webhooks/deploy.py +++ b/lib/webhooks/deploy.py @@ -179,19 +179,19 @@ class WebhookDeployApp(BaseHookApp): cfg['name'] = project_key full_name = ns + '/' + pname - if self.verbose > 1: - LOG.debug("Searching for {n!r} branch {b!r} in config ...".format( - n=self.full_name, b=self.ref)) + # if self.verbose > 1: + LOG.info("Searching for {n!r} branch {b!r} in config ...".format( + n=self.full_name, b=self.ref)) if self.full_name != full_name: - if self.verbose > 1: - LOG.debug("Project {k!r} => {n!r} does not match.".format( - k=project_key, n=full_name)) + # if self.verbose > 1: + LOG.info("Project {k!r} => {n!r} does not match.".format( + k=project_key, n=full_name)) continue if 'branch' in cfg: if self.ref.lower() != cfg['branch'].lower(): - LOG.debug("Wrong branch in working dir {cfb!r} - wanted {hb!r}.".format( + LOG.info("Wrong branch in working dir {cfb!r} - wanted {hb!r}.".format( cfb=cfg['branch'], hb=self.ref)) continue -- 2.39.5