From 09f04b566f49aa5d6514b21f75b9caa8cf9491f3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Apr 2017 15:26:14 +0200 Subject: Add more agent tracing --- bbot/agent.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- cgit v1.1