[Pkg-privacy-commits] [tails-installer] 28/43: Include date/time in log messages.

Ulrike Uhlig u-guest at moszumanska.debian.org
Tue Nov 15 23:30:22 UTC 2016


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

u-guest pushed a commit to branch debian/sid
in repository tails-installer.

commit aee98015f10258858ec3ce2402d8364145c11da2
Author: intrigeri <intrigeri at boum.org>
Date:   Thu Jul 21 09:21:30 2016 +0000

    Include date/time in log messages.
---
 tails_installer/creator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tails_installer/creator.py b/tails_installer/creator.py
index d304897..c269205 100755
--- a/tails_installer/creator.py
+++ b/tails_installer/creator.py
@@ -112,7 +112,7 @@ class TailsInstallerCreator(object):
         self.log = logging.getLogger()
         self.log.setLevel(logging.DEBUG if self.opts.verbose else logging.INFO)
 
-        formatter = logging.Formatter("[%(filename)s:%(lineno)s (%(funcName)s)] %(levelname)s: %(message)s")
+        formatter = logging.Formatter("%(asctime)s [%(filename)s:%(lineno)s (%(funcName)s)] %(levelname)s: %(message)s")
 
         self.stream_handler = logging.StreamHandler()
         self.stream_handler.setFormatter(formatter)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list