From b09cdb4a6346c6641bf9d82f28b8daa118de0d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Fri, 2 Oct 2015 11:22:38 -0400 Subject: [PATCH] don't add module name on standard messages too much clutter --- borg/archiver.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/borg/archiver.py b/borg/archiver.py index 13295e0bb..34e694216 100644 --- a/borg/archiver.py +++ b/borg/archiver.py @@ -513,7 +513,9 @@ Type "Yes I am sure" if you understand this and want to continue.\n""") logging.raiseExceptions = False l = logging.getLogger('') sh = logging.StreamHandler(sys.stderr) - sh.setFormatter(logging.Formatter('%(name)s: %(message)s')) + # other formatters will probably want this, but let's remove + # clutter on stderr + #sh.setFormatter(logging.Formatter('%(name)s: %(message)s')) l.addHandler(sh) levels = { None: logging.WARNING, 0: logging.WARNING,