From e29547a1dcf9cee4af9a615db9f5f946383fb0d0 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Sat, 23 Dec 2006 10:06:24 +0000 Subject: [PATCH] List package in summary logfile svn path=/main/trunk/; revision=5363 --- pym/elog_modules/mod_save_summary.py | 4 ++-- 1 file 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() -- 2.26.2