diff options
author | Daniel Shahaf <danielsh@apache.org> | 2017-06-04 19:35:29 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-06-04 22:20:01 +0200 |
commit | f17b95848091da41019f6ab752304afcf6f80abe (patch) | |
tree | fa93ad488cf24bd92b977e1e0420b17d638f2df9 /bin | |
parent | df21a47b074803e3cb5ccda8e77159d10af450ac (diff) | |
download | jenkins.debian.net-f17b95848091da41019f6ab752304afcf6f80abe.tar.xz |
reproducible Debian: Include timestamps in logs
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.py | 2 |
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() |