Fri, 26 Jan 2018 10:23:38 +0000
Do not set error status from borg output if loglevel = WARNING, only >= ERROR
backup.py | file | annotate | diff | comparison | revisions |
--- a/backup.py Fri Jan 26 09:27:07 2018 +0000 +++ b/backup.py Fri Jan 26 10:23:38 2018 +0000 @@ -261,7 +261,7 @@ msg['name']='borg' lvl=translate_loglevel(msg['levelname']) self.logger.log(lvl, msg['name'] + ': ' + msg['message']) - if lvl>=logging.WARNING: + if lvl>=logging.ERROR errormsg=msg errors=Errors.ERRORS if ('msgid' in msg and