summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-29 13:08:52 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-29 13:08:52 -0700
commitc4c4ec1bb531bc19efd0b1c0b3d348be3ecb816d (patch)
tree9a785dab9f10327513b5d9e5ad39ab64eaf61772 /cloudinit/util.py
parent2d6d386dbd30f70aa0190ed6620404e620e315a9 (diff)
downloadvyos-cloud-init-c4c4ec1bb531bc19efd0b1c0b3d348be3ecb816d.tar.gz
vyos-cloud-init-c4c4ec1bb531bc19efd0b1c0b3d348be3ecb816d.zip
Don't always log stdout and stderr (exceptions will capture them if it fails)
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 40f31570..3cf51e65 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -1287,10 +1287,6 @@ def subp(args, data=None, rcs=None, env=None, capture=True, shell=False):
out = ''
if not err and capture:
err = ''
- # Useful to note what happened...
- if capture:
- LOG.debug("Stdout: %s", out)
- LOG.debug("Stderr: %s", err)
return (out, err)