From 2cc345b95f19334e7050c7203a5f6823af24344f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 28 Aug 2017 19:13:24 +0200 Subject: Give activities a verbosity level again And print them (separately from the progress bar) given sufficient -v flags. --- src/libstore/store-api.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstore/store-api.cc') diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index f07376852711..7a8a3f7dee04 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -565,7 +565,7 @@ void Store::buildPaths(const PathSet & paths, BuildMode buildMode) void copyStorePath(ref srcStore, ref dstStore, const Path & storePath, RepairFlag repair, CheckSigsFlag checkSigs) { - Activity act(*logger, actCopyPath, fmt("copying path '%s'", storePath), + Activity act(*logger, lvlInfo, actCopyPath, fmt("copying path '%s'", storePath), {storePath, srcStore->getUri(), dstStore->getUri()}); PushActivity pact(act.id); @@ -623,7 +623,7 @@ void copyPaths(ref srcStore, ref dstStore, const PathSet & storePa for (auto & path : storePaths) if (!valid.count(path)) missing.insert(path); - Activity act(*logger, actCopyPaths, fmt("copying %d paths", missing.size())); + Activity act(*logger, lvlInfo, actCopyPaths, fmt("copying %d paths", missing.size())); std::atomic nrDone{0}; std::atomic bytesExpected{0}; -- cgit 1.4.1