From d6a4da30de37b2a3f1a3b4b8f8dd6dc0da3e1b50 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 19 Mar 2014 13:54:20 +0100 Subject: admin tools: Log IPA version Add the IPA version, and vendor version if applicable, to the beginning of admintool logs -- both framework and indivitual tools that don't yet use the framework. This will make debugging easier. https://fedorahosted.org/freeipa/ticket/4219 Reviewed-By: Alexander Bokovoy --- ipa-client/ipa-install/ipa-client-install | 1 + 1 file changed, 1 insertion(+) (limited to 'ipa-client/ipa-install/ipa-client-install') diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index 6fd64d0d9..a547099f8 100755 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -2856,6 +2856,7 @@ def main(): root_logger.debug( '%s was invoked with options: %s', sys.argv[0], safe_options) root_logger.debug("missing options might be asked for interactively later") + root_logger.debug('IPA version %s' % version.VENDOR_VERSION) env={"PATH":"/bin:/sbin:/usr/kerberos/bin:/usr/kerberos/sbin:/usr/bin:/usr/sbin"} -- cgit