From 579c8e56e092b2ffda685f2e0cf7e42b8d0014ff Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Tue, 13 Sep 2011 12:37:47 +0200 Subject: Call standard_logging_setup() before any logging is done --- install/tools/ipa-dns-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index 09006a20..9869eae8 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') -- cgit