Mon, 22 Jan 2018 19:14:47 +0000
Have to clean up logger handlers in same cases to avoid duplicate messages
--- a/borgend.py Mon Jan 22 18:59:10 2018 +0000 +++ b/borgend.py Mon Jan 22 19:14:47 2018 +0000 @@ -27,6 +27,7 @@ # logger=logging.getLogger(appname) +logger.handlers.clear() logger.setLevel(loglevel) stderrlog=logging.StreamHandler() stderrlog.setLevel(logging.WARNING)