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:18 +0200 |
commit | 579c8e56e092b2ffda685f2e0cf7e42b8d0014ff (patch) | |
tree | 5a5f1692ef81129cb02c4dd47be449c264739d39 | |
parent | 136220265324111f77e3eec4b162a5df80623d07 (diff) | |
download | freeipa-579c8e56e092b2ffda685f2e0cf7e42b8d0014ff.tar.gz freeipa-579c8e56e092b2ffda685f2e0cf7e42b8d0014ff.tar.xz freeipa-579c8e56e092b2ffda685f2e0cf7e42b8d0014ff.zip |
Call standard_logging_setup() before any logging is done
-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 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') |