[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.50-135-gb94736d

Andreas Beckmann anbe at debian.org
Fri May 10 10:59:05 UTC 2013


The following commit has been merged in the piatti branch:
commit 4bcbd2b97de4b2ec5dbd795410e3c50b77ed8f2a
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