From dcb4bd275917730b5dfc84485bc7ce5b6d0b4531 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 1 Jun 2023 12:29:22 +0200 Subject: Increase verbosity threshold for few traces --- bbot/agent/agent.cxx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx index e56f742..867185b 100644 --- a/bbot/agent/agent.cxx +++ b/bbot/agent/agent.cxx @@ -1006,7 +1006,7 @@ try break; } - l1 ([&]{trace << "keeping " << md << ": locked by " << ml.pid + l3 ([&]{trace << "keeping " << md << ": locked by " << ml.pid << " with priority " << *ml.prio;}); mm = parse_manifest ( @@ -1014,7 +1014,7 @@ try } else // Bootstrapping/suspended. { - l1 ([&]{trace << "keeping " << md << ": being bootstrapped " + l3 ([&]{trace << "keeping " << md << ": being bootstrapped " << "or suspened by " << ml.pid;}); } @@ -1173,7 +1173,7 @@ try if (busy == inst_max) { - l1 ([&]{trace << "instance max reached attempting to bootstrap " + l3 ([&]{trace << "instance max reached attempting to bootstrap " << tp;}); run_btrfs (trace, "subvolume", "delete", xp); return pr; @@ -1466,8 +1466,7 @@ try if (sigurs1.load (std::memory_order_consume) == 0) return; - // @@ l3 - l1 ([&]{trace << "machine " << xp << " interruped";}); + l2 ([&]{trace << "machine " << xp << " interruped";}); try {m->forcedown (false);} catch (const failed&) {} m->cleanup (); @@ -1996,7 +1995,7 @@ try continue; } - l1 ([&]{trace << "priority monitor, range [" << prio_min << ", " + l2 ([&]{trace << "priority monitor, range [" << prio_min << ", " << prio_max << "]";}); prio_mon = true; @@ -2396,7 +2395,7 @@ try const dir_path& tp (im->path); // - path. - l1 ([&]{trace << "interrupting " + l2 ([&]{trace << "interrupting " << (im == pm ? "target" : "lower priority") << " machine " << tp << ", pid " << im->lock.pid;}); -- cgit v1.1