summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Shahaf <danielsh@apache.org>2017-06-04 19:35:29 +0000
committerHolger Levsen <holger@layer-acht.org>2017-06-04 22:20:01 +0200
commitf17b95848091da41019f6ab752304afcf6f80abe (patch)
treefa93ad488cf24bd92b977e1e0420b17d638f2df9
parentdf21a47b074803e3cb5ccda8e77159d10af450ac (diff)
downloadjenkins.debian.net-f17b95848091da41019f6ab752304afcf6f80abe.tar.xz
reproducible Debian: Include timestamps in logs
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index bc8b61dd..474c8a3c 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -113,7 +113,7 @@ if args.quiet or QUIET:
log = logging.getLogger(__name__)
log.setLevel(log_level)
sh = logging.StreamHandler()
-sh.setFormatter(logging.Formatter('%(levelname)s: %(message)s'))
+sh.setFormatter(logging.Formatter('[%(asctime)s] %(levelname)s: %(message)s'))
log.addHandler(sh)
started_at = datetime.now()