feat(tvix): Convert some DLOGs to VLOGs
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>
This commit is contained in:
parent
64ef09c475
commit
9945bd1746
6 changed files with 10 additions and 10 deletions
6
third_party/nix/src/libstore/pathlocks.cc
vendored
6
third_party/nix/src/libstore/pathlocks.cc
vendored
|
|
@ -92,7 +92,7 @@ bool PathLocks::lockPaths(const PathSet& paths, const std::string& waitMsg,
|
|||
checkInterrupt();
|
||||
Path lockPath = path + ".lock";
|
||||
|
||||
DLOG(INFO) << "locking path '" << path << "'";
|
||||
VLOG(2) << "locking path '" << path << "'";
|
||||
|
||||
AutoCloseFD fd;
|
||||
|
||||
|
|
@ -115,7 +115,7 @@ bool PathLocks::lockPaths(const PathSet& paths, const std::string& waitMsg,
|
|||
}
|
||||
}
|
||||
|
||||
DLOG(INFO) << "lock acquired on '" << lockPath << "'";
|
||||
VLOG(2) << "lock acquired on '" << lockPath << "'";
|
||||
|
||||
/* Check that the lock file hasn't become stale (i.e.,
|
||||
hasn't been unlinked). */
|
||||
|
|
@ -159,7 +159,7 @@ void PathLocks::unlock() {
|
|||
LOG(WARNING) << "cannot close lock file on '" << i.second << "'";
|
||||
}
|
||||
|
||||
DLOG(INFO) << "lock released on '" << i.second << "'";
|
||||
VLOG(2) << "lock released on '" << i.second << "'";
|
||||
}
|
||||
|
||||
fds.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue