aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbot/agent.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bbot/agent.cxx b/bbot/agent.cxx
index 0840739..a40e9e9 100644
--- a/bbot/agent.cxx
+++ b/bbot/agent.cxx
@@ -908,6 +908,11 @@ try
if (!tr.session.empty ()) // Got a task.
{
url = u;
+
+ task_manifest& t (*tr.task);
+ l2 ([&]{trace << "task for " << t.name << '/' << t.version << " "
+ << "on " << t.machine << " "
+ << "from " << url;});
break;
}
}
@@ -915,6 +920,7 @@ try
if (tr.session.empty ()) // No task from any of the controllers.
{
+ l2 ([&]{trace << "no tasks from any controllers, sleeping";});
sleep = true;
continue;
}