url_helper.py, cc_rightscale_userdata.py: reduce WARN to DEBUG

cc_rightscale_userdata.py is likely to not be found, so its WARN
was annoying in that it got to console output.

The same is true of url_helper.  Not all uses of readurl were
fatal or justified to warn if the content was not there.
This commit is contained in:
Scott Moser
2012-07-09 16:52:44 -04:00
parent 022fbd4813
commit 080070d5cc
2 changed files with 2 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ def readurl(url, data=None, timeout=None,
time.sleep(sec_between)
# Didn't work out
LOG.warn("Failed reading from %s after %s attempts", url, attempts)
LOG.debug("Failed reading from %s after %s attempts", url, attempts)
# It must of errored at least once for code
# to get here so re-raise the last error