From 7ec1a99545de4f071890b722da27181802b38906 Mon Sep 17 00:00:00 2001 From: Minttu Hurme Date: Fri, 20 Oct 2023 16:21:43 +0300 Subject: [PATCH] More debug --- src/mongoLog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mongoLog.js b/src/mongoLog.js index 4cae3afe..16d8bca5 100644 --- a/src/mongoLog.js +++ b/src/mongoLog.js @@ -120,6 +120,7 @@ export default async function (MONGO_URI, dbName = 'rest-api') { // getExpandedListOfLogs returns groped MERGE_LOGs and MATCH_LOGs async function getExpandedListOfLogs({logItemTypes = [LOG_ITEM_TYPE.MERGE_LOG, LOG_ITEM_TYPE.MATCH_LOG], catalogers = [], dateBefore = new Date(), dateAfter = new Date('2000-01-01')}) { + logger.debug(`commons: logItemTypes: ${JSON.stringify(logItemTypes)}, dateAfter: ${dateAfter}, dateBefore: ${dateBefore}}, catalogers: ${JSON.stringify(catalogers)}`); logger.debug(JSON.stringify(generateMatchObject(logItemTypes, catalogers, dateBefore, dateAfter))); // eslint-disable-line //checkLogItemType(logItemType, false, false); logger.debug(`Getting expanded list of logs`);