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/remote-store.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libstore/remote-store.cc') diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc index f0e3502bf79a..1af84cff5ba8 100644 --- a/src/libstore/remote-store.cc +++ b/src/libstore/remote-store.cc @@ -679,11 +679,12 @@ void RemoteStore::Connection::processStderr(Sink * sink, Source * source) else if (msg == STDERR_START_ACTIVITY) { auto act = readNum(from); + auto lvl = (Verbosity) readInt(from); auto type = (ActivityType) readInt(from); auto s = readString(from); auto fields = readFields(from); auto parent = readNum(from); - logger->startActivity(act, type, s, fields, parent); + logger->startActivity(act, lvl, type, s, fields, parent); } else if (msg == STDERR_STOP_ACTIVITY) { -- cgit 1.4.1