From db9da225bce11ddeef1b5a2d511f18e17a808f15 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 17 Jul 2015 11:39:34 -0400 Subject: [PATCH] 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 Reviewed-by: Patrick Uiterwijk --- ipsilon/install/ipsilon-server-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.20.1