From c4c4ec1bb531bc19efd0b1c0b3d348be3ecb816d Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 29 Jun 2012 13:08:52 -0700 Subject: Don't always log stdout and stderr (exceptions will capture them if it fails) --- cloudinit/util.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cloudinit') 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) -- cgit v1.2.3