Francois Gouget : testbot: Log the task pids.

Alexandre Julliard julliard at winehq.org
Mon Sep 30 13:43:26 CDT 2013


Module: tools
Branch: master
Commit: 392d2725a12296a04e687b6e2de82eb58e060c0f
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=392d2725a12296a04e687b6e2de82eb58e060c0f

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Sep 27 19:57:03 2013 +0200

testbot: Log the task pids.

This makes it easier to analyze the logs as multiple instances of a given task can be running in parallel.

---

 testbot/lib/WineTestBot/Log.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testbot/lib/WineTestBot/Log.pm b/testbot/lib/WineTestBot/Log.pm
index b88ba6f..99bc03b 100644
--- a/testbot/lib/WineTestBot/Log.pm
+++ b/testbot/lib/WineTestBot/Log.pm
@@ -54,7 +54,7 @@ sub LogMsg(@)
     $| = 1;
     select($tmp);
   }
-  print $logfile scalar localtime, " ", $logprefix, ": ", @_ if ($logfile);
+  print $logfile scalar localtime, " ", $logprefix, "[$$]: ", @_ if ($logfile);
 }
 
 sub SetupRedirects()




More information about the wine-cvs mailing list