summaryrefslogtreecommitdiffstats
path: root/ipa-client
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-03-19 13:54:20 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-05-27 12:08:55 +0200
commitd6a4da30de37b2a3f1a3b4b8f8dd6dc0da3e1b50 (patch)
tree84605bd273aaaf3470f74a160454d7951a011e33 /ipa-client
parent7f465e693cd7fceefb284a0b3831504fd2ddbeb4 (diff)
downloadfreeipa-d6a4da30de37b2a3f1a3b4b8f8dd6dc0da3e1b50.tar.gz
freeipa-d6a4da30de37b2a3f1a3b4b8f8dd6dc0da3e1b50.tar.xz
freeipa-d6a4da30de37b2a3f1a3b4b8f8dd6dc0da3e1b50.zip
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 <abokovoy@redhat.com>
Diffstat (limited to 'ipa-client')
-rwxr-xr-xipa-client/ipa-install/ipa-client-install1
1 files changed, 1 insertions, 0 deletions
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"}