Merge "Swap logging levels for command and its output"
diff --git a/jeepyb/cmd/manage_projects.py b/jeepyb/cmd/manage_projects.py
index 3bca041..f125975 100644
--- a/jeepyb/cmd/manage_projects.py
+++ b/jeepyb/cmd/manage_projects.py
@@ -89,12 +89,12 @@
cmd_list = shlex.split(str(cmd))
newenv = os.environ
newenv.update(env)
- log.debug("Executing command: %s" % " ".join(cmd_list))
+ log.info("Executing command: %s" % " ".join(cmd_list))
p = subprocess.Popen(cmd_list, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT, env=newenv)
(out, nothing) = p.communicate()
- log.info("Return code: %s" % p.returncode)
- log.info("Command said: %s" % out.strip())
+ log.debug("Return code: %s" % p.returncode)
+ log.debug("Command said: %s" % out.strip())
if status:
return (p.returncode, out.strip())
return out.strip()