* Be less chatty.

This commit is contained in:
Eelco Dolstra 2006-12-05 19:01:19 +00:00
parent 44cad9630f
commit 2b558843a2

View file

@ -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");