summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2008-03-24 12:22:34 -0400
committerSimo Sorce <ssorce@redhat.com>2008-03-24 12:22:34 -0400
commit402187c8386acd28456f7e4391fd5b317b35d412 (patch)
treee38672d03f1aec43aff0b4d704226e991c053c8c
parent934ac494b9c4f7e66dfbacaa0cc74944e9cc108a (diff)
downloadfreeipa-402187c8386acd28456f7e4391fd5b317b35d412.tar.gz
freeipa-402187c8386acd28456f7e4391fd5b317b35d412.tar.xz
freeipa-402187c8386acd28456f7e4391fd5b317b35d412.zip
Make Install and Uninstall have different log files
-rw-r--r--ipa-server/ipa-install/ipa-server-install7
1 files changed, 5 insertions, 2 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install
index 926b00358..8b5c44123 100644
--- a/ipa-server/ipa-install/ipa-server-install
+++ b/ipa-server/ipa-install/ipa-server-install
@@ -315,8 +315,11 @@ def main():
signal.signal(signal.SIGTERM, signal_handler)
signal.signal(signal.SIGINT, signal_handler)
- standard_logging_setup("/var/log/ipaserver-install.log", options.debug)
- print "\nThe log file for this installation can be found in /var/log/ipaserver-install.log"
+ if options.uninstall:
+ standard_logging_setup("/var/log/ipaserver-uninstall.log", options.debug)
+ else:
+ standard_logging_setup("/var/log/ipaserver-install.log", options.debug)
+ print "\nThe log file for this installation can be found in /var/log/ipaserver-install.log"
if options.uninstall:
return uninstall()