]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Adding output
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 7 Dec 2021 12:54:13 +0000 (13:54 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 7 Dec 2021 12:54:13 +0000 (13:54 +0100)
lib/pp_admintools/deploy_zones_from_pdns.py

index 92bda0a8733e8a869116333c23dd7a5dcc203811..1c662eddcc2406c72486cffacfe8a229980c9b7f 100644 (file)
@@ -37,7 +37,7 @@ from .pidfile import PidFileError, PidFile
 
 from .xlate import XLATOR
 
-__version__ = '0.7.0'
+__version__ = '0.7.1'
 LOG = logging.getLogger(__name__)
 
 _ = XLATOR.gettext
@@ -366,6 +366,9 @@ class PpDeployZonesApp(PpPDNSApplication):
             LOG.error(_("Unknown time zone: {!r}.").format(local_tz_name))
             self.exit(6)
 
+        LOG.info(_("Starting: {}").format(
+            datetime.datetime.now(local_tz).strftime('%Y-%m-%d %H:%M:%S %Z')))
+
         try:
             self.pidfile.create()
         except PidFileError as e: