summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-06-17 12:16:40 -0400
committerScott Moser <smoser@ubuntu.com>2010-06-17 12:16:40 -0400
commit367e4c45e3331ccfb05928526581e33936c46516 (patch)
tree90c5cc0877bbc83495277d686fe2a46c810ce3f1 /cloudinit
parentafb5f8da541f97a9fc5c023cac7dc55b5b81dd06 (diff)
downloadvyos-cloud-init-367e4c45e3331ccfb05928526581e33936c46516.tar.gz
vyos-cloud-init-367e4c45e3331ccfb05928526581e33936c46516.zip
remove debug printfs from __init__
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py
index c10f5add..61cbc3cc 100644
--- a/cloudinit/__init__.py
+++ b/cloudinit/__init__.py
@@ -145,13 +145,11 @@ def logging_set_from_cfg(cfg, logfile=None):
logcfg=logcfg.replace("__CLOUDINIT_LOGGER_FILE__",logfile)
try:
logging.config.fileConfig(StringIO.StringIO(logcfg))
- print "using logfile = %s" % logcfg
return
except:
if not builtin:
sys.stderr.write("Warning, setting config.fileConfig failed\n")
- print "trying with failsafe"
failsafe=failsafe.replace("__CLOUDINIT_LOGGER_FILE__",logfile)
logging.config.fileConfig(StringIO.StringIO(failsafe))