From fb1e1c5fd985493f8093e936436a6a3485e54a6c Mon Sep 17 00:00:00 2001 From: yuanzhou Date: Fri, 10 Oct 2025 11:36:17 -0400 Subject: [PATCH] Add more log --- src/schema/schema_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schema/schema_manager.py b/src/schema/schema_manager.py index 99583af9..6a5c409c 100644 --- a/src/schema/schema_manager.py +++ b/src/schema/schema_manager.py @@ -854,7 +854,7 @@ def get_complete_entity_result(request, token, entity_dict, properties_to_skip = # As long as `properties_to_skip` is specified (including when`?exclude` is used in query parameter) # Do not return the cached data and store the new cache regardless of it's available or not - Zhou 10/10/2025 if properties_to_skip: - logger.info(f'Skipped/excluded properties specified in get_complete_entity_result(). Always generate the {TriggerTypeEnum.ON_READ} data and do not cache the result.') + logger.info(f'Skipped/excluded properties {properties_to_skip} specified in get_complete_entity_result() for {entity_type} {entity_uuid}. Always generate the {TriggerTypeEnum.ON_READ} data and do not cache the result.') # No error handling here since if a 'on_read_trigger' method fails, # the property value will be the error message @@ -873,7 +873,7 @@ def get_complete_entity_result(request, token, entity_dict, properties_to_skip = # Remove properties of None value complete_entity = remove_none_values(complete_entity_dict) else: - logger.info('Skipped/excluded properties NOT specified in get_complete_entity_result()') + logger.info(f'Skipped/excluded properties NOT specified in get_complete_entity_result() for {entity_type} {entity_uuid}.') # Re-generate the triggered data and add to memcache # Otherwise, use the cached data if found and still valid