summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceSmartOS.py
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2015-03-25 17:26:33 +0000
committerDaniel Watkins <daniel.watkins@canonical.com>2015-03-25 17:26:33 +0000
commitf4eb74ccc512d12afbb17dd9c678a5308ca64e9f (patch)
treefef8f0cbedd808fb6ec55f519bf20d29728aea4f /cloudinit/sources/DataSourceSmartOS.py
parentd52feae7ad38670964edebb0eea5db2c8c80f760 (diff)
downloadvyos-cloud-init-f4eb74ccc512d12afbb17dd9c678a5308ca64e9f.tar.gz
vyos-cloud-init-f4eb74ccc512d12afbb17dd9c678a5308ca64e9f.zip
Switch logging from info to debug level.
Diffstat (limited to 'cloudinit/sources/DataSourceSmartOS.py')
-rw-r--r--cloudinit/sources/DataSourceSmartOS.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py
index 237fc140..d299cf26 100644
--- a/cloudinit/sources/DataSourceSmartOS.py
+++ b/cloudinit/sources/DataSourceSmartOS.py
@@ -337,14 +337,14 @@ class JoyentMetadataClient(object):
'Request ID mismatch (expected: {0}; got {1}).'.format(
expected_request_id, frame_data['request_id']))
if not frame_data.get('payload', None):
- LOG.info('No value found.')
+ LOG.debug('No value found.')
return None
value = util.b64d(frame_data['payload'])
- LOG.info('Value "%s" found.', value)
+ LOG.debug('Value "%s" found.', value)
return value
def get_metadata(self, metadata_key):
- LOG.info('Fetching metadata key "%s"...', metadata_key)
+ LOG.debug('Fetching metadata key "%s"...', metadata_key)
request_id = '{0:08x}'.format(random.randint(0, 0xffffffff))
message_body = '{0} GET {1}'.format(request_id,
util.b64e(metadata_key))