testbot: Log the task pids.

Francois Gouget fgouget at codeweavers.com
Fri Sep 27 12:57:03 CDT 2013


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 file changed, 1 insertion(+), 1 deletion(-)

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()
-- 
1.8.4.rc3




More information about the wine-patches mailing list