aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-16 10:43:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-16 12:32:30 +0200
commit17609d9831e592f5985ed1bfb1ef59f712025ae9 (patch)
tree165bf8a290d1aeef3a58daf550fcca4f0ebf1e96
parent902607801442c1a44b6386d51f3c12360be3ef54 (diff)
Adjust tracing level for few noisy cases
-rw-r--r--build2/in/rule.cxx5
-rw-r--r--build2/version/rule.cxx7
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<in> ();
}
+ // 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<in> ();
}
+ // 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);