Skip to content

Commit 09540f7

Browse files
committed
add debug logs to publish output and session utils
1 parent ed66e7d commit 09540f7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

FunctionWorker/python/PublicationUtils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ def _generate_trigger_metadata(self, topic_next):
391391
def _publish_output(self, key, trigger, lqcpub, timestamp_map=None):
392392
if timestamp_map is not None:
393393
timestamp_map['t_pub_output'] = time.time() * 1000.0
394+
self._logger.debug(f"[_publish_output] key: {key}, trigger: {str(trigger)}")
394395
next = trigger["next"]
395396

396397
if "to_running_function" in trigger and trigger["to_running_function"]:

FunctionWorker/python/SessionUtils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ def send_to_running_function_in_session(self, session_function_id, message, send
431431
#self._logger.debug("[SessionUtils] Sending message to running function: " + str(session_function_id) + " now: " + str(send_now))
432432
# send the message to the specific running function id
433433
function_metadatastr = self._global_data_layer_client.getMapEntry(self._map_name_session_functions, session_function_id)
434+
self._logger.debug(f"[SessionUtils] Sending message to running function: {str(session_function_id)}, now: {str(send_now)}, function_metadata: {str(function_metadatastr)}")
434435
try:
435436
#self._logger.debug("[SessionUtils] function metadata: " + function_metadatastr)
436437
function_metadata = json.loads(function_metadatastr)

0 commit comments

Comments
 (0)