[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.50-174-ga23da25

Holger Levsen holger at layer-acht.org
Mon May 13 14:09:09 UTC 2013


The following commit has been merged in the develop branch:
commit b7cbb5d050287fabe3b7fa8c5f0d9f37f5f667ee
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri May 10 03:06:21 2013 +0200

    p-m: increase logfile verboseness
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/piuparts-master-backend.py b/piuparts-master-backend.py
index db74dc1..df0e374 100644
--- a/piuparts-master-backend.py
+++ b/piuparts-master-backend.py
@@ -171,8 +171,10 @@ class Master(Protocol):
 
         self._section = section
 
+        logging.debug("switching logfile")
         logfile = config["log-file"] or os.path.join(section, "master.log")
         setup_logging(logging.DEBUG, logfile)
+        logging.debug("connected")
 
         # start with a dummy _binary_db (without Packages file), sufficient
         # for submitting finished logs
@@ -377,6 +379,8 @@ def main():
     while m.do_transaction():
         pass
 
+    logging.debug("disconnected")
+
 if __name__ == "__main__":
     main()
 

-- 
piuparts git repository



More information about the Piuparts-commits mailing list