[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51

Holger Levsen holger at layer-acht.org
Wed May 15 10:10:07 UTC 2013


The following commit has been merged in the master branch:
commit 6d4bff246cb37cfdfd57b2f8e7d8e344390f2bbf
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