about summary refs log tree commit diff
path: root/third_party/nix/src/nix/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/log.cc')
-rw-r--r--third_party/nix/src/nix/log.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/third_party/nix/src/nix/log.cc b/third_party/nix/src/nix/log.cc
index 350d5c4a49..3dab7746dd 100644
--- a/third_party/nix/src/nix/log.cc
+++ b/third_party/nix/src/nix/log.cc
@@ -1,6 +1,6 @@
+#include <glog/logging.h>
 #include "command.hh"
 #include "common-args.hh"
-#include "progress-bar.hh"
 #include "shared.hh"
 #include "store-api.hh"
 
@@ -45,9 +45,8 @@ struct CmdLog : InstallableCommand {
         log = sub->getBuildLog(output.second);
       }
       if (!log) continue;
-      stopProgressBar();
-      printInfo("got build log for '%s' from '%s'", installable->what(),
-                sub->getUri());
+      LOG(INFO) << "got build log for '" << installable->what() << "' from '"
+                << sub->getUri() << "'";
       std::cout << *log;
       return;
     }