From: Marius Mauch Date: Sat, 23 Dec 2006 10:06:24 +0000 (-0000) Subject: List package in summary logfile X-Git-Tag: v2.1.2~234 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e29547a1dcf9cee4af9a615db9f5f946383fb0d0;p=portage.git List package in summary logfile svn path=/main/trunk/; revision=5363 --- diff --git a/pym/elog_modules/mod_save_summary.py b/pym/elog_modules/mod_save_summary.py index dd4dad138..7cb310d95 100644 --- a/pym/elog_modules/mod_save_summary.py +++ b/pym/elog_modules/mod_save_summary.py @@ -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()