From 17609d9831e592f5985ed1bfb1ef59f712025ae9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Nov 2018 10:43:22 +0200 Subject: Adjust tracing level for few noisy cases --- build2/in/rule.cxx | 5 ++++- build2/version/rule.cxx | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/build2/in/rule.cxx b/build2/in/rule.cxx index 5ec95f3..450f398 100644 --- a/build2/in/rule.cxx +++ b/build2/in/rule.cxx @@ -42,8 +42,11 @@ namespace build2 fi = fi || p.is_a (); } + // Note that while normally we print these at verbosity level 4, this + // one gets quite noisy since we try this rule for any file target. + // if (!fi) - l4 ([&]{trace << "no in file prerequisite for target " << t;}); + l5 ([&]{trace << "no in file prerequisite for target " << t;}); return fi; } diff --git a/build2/version/rule.cxx b/build2/version/rule.cxx index 262d623..5bb02ba 100644 --- a/build2/version/rule.cxx +++ b/build2/version/rule.cxx @@ -66,11 +66,14 @@ namespace build2 fi = fi || p.is_a (); } + // Note that while normally we print these at verbosity level 4, these + // ones get quite noisy since we try this rule any file target. + // if (!fm) - l4 ([&]{trace << "no manifest prerequisite for target " << t;}); + l5 ([&]{trace << "no manifest prerequisite for target " << t;}); if (!fi) - l4 ([&]{trace << "no in file prerequisite for target " << t;}); + l5 ([&]{trace << "no in file prerequisite for target " << t;}); bool r (fm && fi); -- cgit v1.1