From c9ead22126975fa05c7957d3225633709d9e0288 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Jul 17 2015 15:46:52 +0000 Subject: Log caught exceptions in server installer at debug level exception() is a helper that logs a traceback at the ERROR level. Since the stdout logs at INFO the traceback was going to both the log file and stdout. We really only want it in the debug log. https://fedorahosted.org/ipsilon/ticket/143 Signed-off-by: Rob Crittenden --- diff --git a/ipsilon/install/ipsilon-server-install b/ipsilon/install/ipsilon-server-install index 5c1ef70..6c7c6dd 100755 --- a/ipsilon/install/ipsilon-server-install +++ b/ipsilon/install/ipsilon-server-install @@ -434,7 +434,8 @@ if __name__ == '__main__': else: install(fplugins, opts) except Exception, e: # pylint: disable=broad-except - logger.exception(e) + logger.debug(e, exc_info=1) + if 'uninstall' in opts and opts['uninstall'] is True: logger.info('Uninstallation aborted.') else: