From f17b95848091da41019f6ab752304afcf6f80abe Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 4 Jun 2017 19:35:29 +0000 Subject: reproducible Debian: Include timestamps in logs Signed-off-by: Holger Levsen --- bin/reproducible_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3-70-g09d2