diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-18 21:08:00 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-18 21:08:00 -0700 |
commit | fcaaceaf73e2a2e524e76ef19e5e10c4c71ec1a4 (patch) | |
tree | c720792c96994bfd3e617d3993e51a1affdc7670 /cloudinit/url_helper.py | |
parent | 8c9148fda19a83bb6fe9476dff34788ccfc9f639 (diff) | |
download | vyos-cloud-init-fcaaceaf73e2a2e524e76ef19e5e10c4c71ec1a4.tar.gz vyos-cloud-init-fcaaceaf73e2a2e524e76ef19e5e10c4c71ec1a4.zip |
Show the timeout (useful to see this when debugging)
Diffstat (limited to 'cloudinit/url_helper.py')
-rw-r--r-- | cloudinit/url_helper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/url_helper.py b/cloudinit/url_helper.py index 5b5b41e2..0376450f 100644 --- a/cloudinit/url_helper.py +++ b/cloudinit/url_helper.py @@ -85,8 +85,8 @@ def readurl(url, data=None, timeout=None, attempts = retries + 1 excepts = [] - LOG.info(("Attempting to open %s with %s attempts" - " (%s retries) to be performed"), url, attempts, retries) + LOG.info(("Attempting to open '%s' with %s attempts" + " (%s retries, timeout=%s) to be performed"), url, attempts, retries, timeout) open_args = {} if timeout is not None: open_args['timeout'] = int(timeout) |