diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-24 15:26:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-24 15:26:14 +0200 |
commit | 09f04b566f49aa5d6514b21f75b9caa8cf9491f3 (patch) | |
tree | eb368570f095e94bfab124e8ea512770d7d19d5d | |
parent | 085c85c328b638b441a6f783348a025798fa85ab (diff) |
Add more agent tracing
-rw-r--r-- | bbot/agent.cxx | 6 |
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; } |