aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-05-24 12:33:39 -0600
committerQyriad <qyriad@qyriad.me>2024-05-24 23:03:08 +0000
commit076c19e0d1a6ad226d002a359df666216fa97950 (patch)
treebd8fac00d2e97d557ffb01921b2e56f5f79611fe
parent19ea351642d48a49a2b41248cbbc4569aa16c0a9 (diff)
change "evaluating file" logs to debug
I can't imagine wanting this unless you are debugging something (in which case it's very useful) Change-Id: I90c6f182c18486e9f6b15a59379bbb8e88fb8e7f
-rw-r--r--src/libexpr/eval.cc2
-rw-r--r--src/libexpr/primops.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 65f0a7938..a8b37325b 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -1115,7 +1115,7 @@ void EvalState::evalFile(const SourcePath & path_, Value & v, bool mustBeTrivial
return;
}
- printTalkative("evaluating file '%1%'", resolvedPath);
+ debug("evaluating file '%1%'", resolvedPath);
Expr * e = nullptr;
auto j = fileParseCache.find(resolvedPath);
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 77e7cf22b..64a52dfd6 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -242,7 +242,7 @@ static void import(EvalState & state, const PosIdx pos, Value & vPath, Value * v
// No need to call staticEnv.sort(), because
// args[0]->attrs is already sorted.
- printTalkative("evaluating file '%1%'", path);
+ debug("evaluating file '%1%'", path);
Expr * e = state.parseExprFromFile(resolveExprPath(path), staticEnv);
e->eval(state, *env, v);