Commit a99cab13 authored by Jiahang Chen's avatar Jiahang Chen
Browse files

print attribute path in logs

parent 1fd402cb
Pipeline #441983 passed with stages
in 51 seconds
...@@ -491,7 +491,7 @@ def on_get_value_request(self, msg): ...@@ -491,7 +491,7 @@ def on_get_value_request(self, msg):
attribute_path = msg.get("attributePath") attribute_path = msg.get("attributePath")
reply_msg_uuid = "s3i:" + str(uuid.uuid4()) reply_msg_uuid = "s3i:" + str(uuid.uuid4())
try: try:
__log = "[S3I]: Search the given attribute path: " __log = "[S3I]: Search the given attribute path: {}".format(attribute_path)
APP_LOGGER.info(__log) APP_LOGGER.info(__log)
value = self._uriToData(attribute_path) value = self._uriToData(attribute_path)
except KeyError: except KeyError:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment