[diffoscope] 04/05: Use Debian-style "I:", "D:" log level format modifies in --debug mode.

Chris Lamb chris at chris-lamb.co.uk
Wed Dec 28 13:45:10 CET 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit cd78cc72e6ac4c50b9e122140c5e2abac29f85a2
Author: Chris Lamb <lamby at debian.org>
Date:   Wed Dec 28 12:41:48 2016 +0000

    Use Debian-style "I:", "D:" log level format modifies in --debug mode.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/__init__.py b/diffoscope/__init__.py
index a2542ff..15398c5 100644
--- a/diffoscope/__init__.py
+++ b/diffoscope/__init__.py
@@ -35,7 +35,7 @@ logger.setLevel(logging.WARNING)
 ch = logging.StreamHandler()
 ch.setLevel(logging.DEBUG)
 logger.addHandler(ch)
-formatter = logging.Formatter('%(created)f %(levelname)1s: %(message)s')
+formatter = logging.Formatter('%(created)f %(levelname).1s: %(message)s')
 ch.setFormatter(formatter)
 
 OS_NAMES = {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list