summaryrefslogtreecommitdiff
path: root/cloudinit/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/__init__.py')
-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))