diff options
author | Sumit Bose <sbose@redhat.com> | 2011-09-13 12:37:47 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-09-13 12:54:37 +0200 |
commit | 17777c1a455bdae7c7b84cdbbd9b68cfe9a67b10 (patch) | |
tree | fae6a976a8fcb449e99f1b14d3334a6dab0ee087 /install/tools | |
parent | 6aa20cdc6f89db497f703dfea71231ebd62be5e7 (diff) | |
download | freeipa-17777c1a455bdae7c7b84cdbbd9b68cfe9a67b10.tar.gz freeipa-17777c1a455bdae7c7b84cdbbd9b68cfe9a67b10.tar.xz freeipa-17777c1a455bdae7c7b84cdbbd9b68cfe9a67b10.zip |
Call standard_logging_setup() before any logging is done
Diffstat (limited to 'install/tools')
-rwxr-xr-x | install/tools/ipa-dns-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index 09006a200..9869eae8b 100755 --- a/install/tools/ipa-dns-install +++ b/install/tools/ipa-dns-install @@ -87,14 +87,14 @@ def main(): if os.getegid() != 0: sys.exit("Must be root to setup server") - installutils.check_server_configuration() - standard_logging_setup("/var/log/ipaserver-install.log", options.debug, filemode='a') print "\nThe log file for this installation can be found in /var/log/ipaserver-install.log" logging.debug('%s was invoked with options: %s' % (sys.argv[0], safe_options)) logging.debug("missing options might be asked for interactively later\n") + installutils.check_server_configuration() + global fstore fstore = sysrestore.FileStore('/var/lib/ipa/sysrestore') |