From a87625a9ad36089bd1cf16e7a9ed2ed7e66b32ee Mon Sep 17 00:00:00 2001 From: Henry Fontanier Date: Wed, 18 Oct 2023 21:51:49 +0200 Subject: [PATCH] use correct logger --- connectors/src/connectors/notion/temporal/activities.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/connectors/src/connectors/notion/temporal/activities.ts b/connectors/src/connectors/notion/temporal/activities.ts index 03ba4bbd83374..d10f751985dd6 100644 --- a/connectors/src/connectors/notion/temporal/activities.ts +++ b/connectors/src/connectors/notion/temporal/activities.ts @@ -1406,7 +1406,7 @@ async function resolveResourceParent({ ); if (reachable) { - logger.info("Found a new reachable parent."); + localLogger.info("Found a new reachable parent."); return { parentId: newParentId, parentType: newParentType, @@ -1597,7 +1597,11 @@ export async function renderAndUpsertPageFromCache({ parentType, pageId, accessToken, - loggerArgs, + loggerArgs = { + ...loggerArgs, + workspaceId: connector.workspaceId, + dataSourceName: connector.dataSourceName, + }, }); parentType = resolvedParent.parentType;