List package in summary logfile
authorMarius Mauch <genone@gentoo.org>
Sat, 23 Dec 2006 10:06:24 +0000 (10:06 -0000)
committerMarius Mauch <genone@gentoo.org>
Sat, 23 Dec 2006 10:06:24 +0000 (10:06 -0000)
svn path=/main/trunk/; revision=5363

pym/elog_modules/mod_save_summary.py

index dd4dad138e1eed90a8b4933871429843e7135859..7cb310d954a24bf877902bdfbd2669c237941ecf 100644 (file)
@@ -14,8 +14,8 @@ def process(mysettings, cpv, logentries, fulltext):
        # TODO: Locking
        elogfilename = elogdir+"/summary.log"
        elogfile = open(elogfilename, "a")
-       elogfile.write(">>> Messages generated by process %d on %s:\n\n" % \
-                       (os.getpid(), time.strftime("%Y%m%d-%H%M%S", time.gmtime(time.time()))))
+       elogfile.write(">>> Messages generated by process %d on %s for package %s:\n\n" % \
+                       (os.getpid(), time.strftime("%Y-%m-%d %H:%M:%S", time.gmtime(time.time())), cpv))
        elogfile.write(fulltext)
        elogfile.write("\n")
        elogfile.close()