[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.50-135-gb94736d
Andreas Beckmann
anbe at debian.org
Fri May 10 10:59:04 UTC 2013
The following commit has been merged in the develop branch:
commit f41460ea192c39901986c43a1f8a72f5b73605b7
Author: David Steele <dsteele at gmail.com>
Date: Fri May 10 10:08:51 2013 +0200
Slave logs to seconds resolution.
Signed-off-by: Andreas Beckmann <anbe at debian.org>
diff --git a/TODO b/TODO
index 85b0017..59c4b51 100644
--- a/TODO
+++ b/TODO
@@ -99,8 +99,6 @@ for 0.6x:
- make it possible to call aptitude (or similar) instead of apt-get and allow to
override the commandline arguments.
-- piuparts-slave: timestamps to log messages
-
- the templates used by update-reports.py and detect_well_known_errors should
be taken from /etc/piuparts/templates/ and not be included in the python source
diff --git a/piuparts-slave.py b/piuparts-slave.py
index 86b3c71..e4ab749 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -54,7 +54,7 @@ def setup_logging(log_level, log_file_name):
logger.setLevel(log_level)
formatter = logging.Formatter(fmt="%(asctime)s %(message)s",
- datefmt="%H:%M")
+ datefmt="%H:%M:%S")
handler = logging.StreamHandler(sys.stderr)
handler.setFormatter(formatter)
--
piuparts git repository
More information about the Piuparts-commits
mailing list