]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Adding logging output
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 29 Apr 2019 15:05:39 +0000 (17:05 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 29 Apr 2019 15:05:39 +0000 (17:05 +0200)
lib/webhooks/deploy.py

index c6751088ea5200bb99c46f23f250efb6f1cdfbed..661bcd21b04353e86c22d4ceb8d07d7ad3f87e30 100644 (file)
@@ -275,6 +275,8 @@ class WebhookDeployApp(BaseHookApp):
             os.chdir(workdir)
 
             xlate_script = pathlib.Path('compile-xlate-msgs.sh')
+            LOG.info(_("Trying to execute {s!r} in directory {d!r} ...").format(
+                s=str(xlate_script), d=str(workdir)))
             if not xlate_script.exists():
                 if self.verbose > 2:
                     LOG.debug("Script {!r} does not exists.".format(str(xlate_script)))