Commit 7fa588c8 authored by Federico Sismondi's avatar Federico Sismondi
Browse files

Update() logs of DCA app

parent 4f154b1a
......@@ -63,7 +63,7 @@ def _forward_to_message_broker():
timestamp = request.json['timestamp']
dev_eui = request.json['deveui']
entity_id = mapping_deveui_to_fiware_id[dev_eui]
app.logger.info("Pushing IoT reading {}".format(entity_id))
app.logger.info("Pushing IoT reading ({}) to {}".format(sensor_reading, entity_id))
url = "{}/v2/entities/{}/attrs?options=keyValues".format(URL_BASE, entity_id)
payload = {
......
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