From a6086a0831657a49352f913434c5d1fe8fe3f49a Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 7 Dec 2021 13:54:13 +0100 Subject: [PATCH] Adding output --- lib/pp_admintools/deploy_zones_from_pdns.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/pp_admintools/deploy_zones_from_pdns.py b/lib/pp_admintools/deploy_zones_from_pdns.py index 92bda0a..1c662ed 100644 --- a/lib/pp_admintools/deploy_zones_from_pdns.py +++ b/lib/pp_admintools/deploy_zones_from_pdns.py @@ -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: -- 2.39.5