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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user