Francois Gouget : testbot: Log the task pids.
Module: tools Branch: master Commit: 392d2725a12296a04e687b6e2de82eb58e060c0f URL: http://source.winehq.org/git/tools.git/?a=commit;h=392d2725a12296a04e687b6e2... Author: Francois Gouget <fgouget(a)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()
participants (1)
-
Alexandre Julliard