log/sharing: replace legacy trace log

This commit is contained in:
Peter Bieringer
2026-04-08 22:16:21 +02:00
parent d6dfc9834e
commit 175a783e47
4 changed files with 92 additions and 180 deletions

View File

@@ -29,10 +29,10 @@ class Sharing(sharing.BaseSharing):
def get_sharing_collection_by_token(self, token: str) -> Union[dict, None]:
""" retrieve target and attributs by token """
# default
logger.debug("TRACE/sharing_by_token: 'none' cannot provide any map for token: %r", token)
logger.trace("sharing/collection_by_token: 'none' cannot provide any map for token: %r", token)
return None
def get_sharing_collection_by_map(self, path) -> Union[dict, None]:
""" retrieve target and attributs by map """
logger.debug("TRACE/sharing_by_map: 'none' cannot provide any map for path: %r", path)
logger.trace("sharing/collection_by_map: 'none' cannot provide any map for path: %r", path)
return {"mapped": False}