Sun, 21 Jan 2018 18:32:14 +0000
Just don't set a diffirent level for fifolog after all
borgend.py | file | annotate | diff | comparison | revisions |
--- a/borgend.py Sun Jan 21 17:45:55 2018 +0000 +++ b/borgend.py Sun Jan 21 18:32:14 2018 +0000 @@ -16,7 +16,6 @@ loglevel=logging.DEBUG logfmt="%(asctime)s:%(levelname)s:%(name)s:%(message)s" fifolog_capacity=1000 -fifolog_level=logging.INFO fifolog_fmt="%(asctime)s:%(levelname)s:%(message)s" # @@ -28,7 +27,6 @@ logger.propagate=True fifolog=FIFOHandler(fifolog_capacity) logger.addHandler(fifolog) -fifolog.setLevel(fifolog_level) fifolog.setFormatter(logging.Formatter(fifolog_fmt)) if __name__=="__main__":