aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-06-01 12:29:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-06-01 12:29:22 +0200
commitdcb4bd275917730b5dfc84485bc7ce5b6d0b4531 (patch)
treedd21659cf1cc1dd0f1d59b72dac608f6dde64638
parent2fca6d23f87304ceed78e93d2a52d137c5ffd0c7 (diff)
Increase verbosity threshold for few traces
-rw-r--r--bbot/agent/agent.cxx13
1 files 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<machine_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); // -<toolchain> path.
- l1 ([&]{trace << "interrupting "
+ l2 ([&]{trace << "interrupting "
<< (im == pm ? "target" : "lower priority")
<< " machine " << tp << ", pid " << im->lock.pid;});