]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Changing debug output
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 28 Oct 2022 15:03:25 +0000 (17:03 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 28 Oct 2022 15:03:25 +0000 (17:03 +0200)
lib/webhooks/deploy.py

index fcd59d3650d7e6ac9420d6d2494b422a530dc507..d48212a75687e37eccd371157eb1120a3d5c5c91 100644 (file)
@@ -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