From 076c19e0d1a6ad226d002a359df666216fa97950 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Fri, 24 May 2024 12:33:39 -0600 Subject: [PATCH] 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 --- src/libexpr/eval.cc | 2 +- src/libexpr/primops.cc | 2 +- 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);