[diffoscope] 01/05: diffoscope.logging: Drop milliseconds from log output

Chris Lamb chris at chris-lamb.co.uk
Tue Jan 10 14:00:58 CET 2017


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

lamby pushed a commit to branch master
in repository diffoscope.

commit aed1fd3d553d4ae636e2e3d6e42570019abaaac6
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Jan 10 12:29:25 2017 +0000

    diffoscope.logging: Drop milliseconds from log output
---
 diffoscope/logging.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/diffoscope/logging.py b/diffoscope/logging.py
index ec09321..f8d6d6b 100644
--- a/diffoscope/logging.py
+++ b/diffoscope/logging.py
@@ -30,5 +30,6 @@ def setup_logging(debug):
 
     formatter = logging.Formatter(
         '%(asctime)s %(levelname).1s: %(name)s: %(message)s',
+        '%Y-%m-%d %H:%M:%S',
     )
     ch.setFormatter(formatter)

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


More information about the diffoscope mailing list