about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-12-05T19·01+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-12-05T19·01+0000
commit2b558843a2228051bec475a016e7bb2565433330 (patch)
treec3d71856b0208a51a449192811c0d036f800b7f3 /src/libstore/build.cc
parent44cad9630f25f7f1c6a9263c031e453170b2f489 (diff)
* Be less chatty.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index e4829883f936..cc09a101f588 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -381,7 +381,7 @@ void UserLock::acquire()
             "in the Nix configuration file");
 
     for (Strings::iterator i = buildUsers.begin(); i != buildUsers.end(); ++i) {
-        printMsg(lvlError, format("trying user `%1%'") % *i);
+        debug(format("trying user `%1%'") % *i);
 
         struct passwd * pw = getpwnam(i->c_str());
         if (!pw)
@@ -1359,7 +1359,7 @@ void DerivationGoal::startBuilder()
                safe.  Also note that setuid() when run as root sets
                the real, effective and saved UIDs. */
             if (buildUser.getUID() != 0) {
-                printMsg(lvlError, format("switching to uid `%1%'") % buildUser.getUID());
+                printMsg(lvlInfo, format("switching to uid `%1%'") % buildUser.getUID());
                 
                 if (setgroups(0, 0) == -1)
                     throw SysError("cannot clear the set of supplementary groups");