about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-11-22T22·11-0500
committerglittershark <grfn@gws.fyi>2020-11-22T23·17+0000
commit9945bd174671c6f90ee9b9eafabbf8e717042c7e (patch)
tree79b1ae22c46759a19e0fe191354ceabfb65cfa17 /third_party/nix/src/libexpr/eval.cc
parent64ef09c47549457d0f2c808ad25c0d3c0efc9cd9 (diff)
feat(tvix): Convert some DLOGs to VLOGs r/1908
It seems like the amount of logging is causing things to move a little
slower - even if that's not really the case, it gets in the way of
debugging things.

Refs: b/76
Change-Id: I9ea99a3b16e3307a0b0371bad22d03b0e2175af6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2134
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/nix/src/libexpr/eval.cc')
-rw-r--r--third_party/nix/src/libexpr/eval.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libexpr/eval.cc b/third_party/nix/src/libexpr/eval.cc
index e15741811738..f7b745a7b480 100644
--- a/third_party/nix/src/libexpr/eval.cc
+++ b/third_party/nix/src/libexpr/eval.cc
@@ -688,7 +688,7 @@ void EvalState::evalFile(const Path& path_, Value& v) {
     return;
   }
 
-  DLOG(INFO) << "evaluating file '" << path2 << "'";
+  VLOG(2) << "evaluating file '" << path2 << "'";
   Expr* e = nullptr;
 
   auto j = fileParseCache.find(path2);
@@ -1541,7 +1541,7 @@ std::string EvalState::copyPathToStore(PathSet& context, const Path& path) {
             : store->addToStore(baseNameOf(path), checkSourcePath(path), true,
                                 htSHA256, defaultPathFilter, repair);
     srcToStore[path] = dstPath;
-    DLOG(INFO) << "copied source '" << path << "' -> '" << dstPath << "'";
+    VLOG(2) << "copied source '" << path << "' -> '" << dstPath << "'";
   }
 
   context.insert(dstPath);