summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2006-12-23 10:06:24 +0000
committerMarius Mauch <genone@gentoo.org>2006-12-23 10:06:24 +0000
commite29547a1dcf9cee4af9a615db9f5f946383fb0d0 (patch)
treef146ef0cdd1b3df84ed6c989ec23beda1571b9cb
parented4100cc87786353879b528398fcd48d7ebfdf14 (diff)
downloadportage-e29547a1dcf9cee4af9a615db9f5f946383fb0d0.tar.gz
portage-e29547a1dcf9cee4af9a615db9f5f946383fb0d0.tar.bz2
portage-e29547a1dcf9cee4af9a615db9f5f946383fb0d0.zip
List package in summary logfile
svn path=/main/trunk/; revision=5363
-rw-r--r--pym/elog_modules/mod_save_summary.py4
1 files changed, 2 insertions, 2 deletions
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()