From 64160e2a317aeab14fba52bea8bf04380bac6cd3 Mon Sep 17 00:00:00 2001 From: Ankita Ranjan Date: Wed, 28 Jun 2023 16:05:40 +0530 Subject: [PATCH 1/2] adding extra log statements --- .../mifos/processor/bulk/camel/routes/ProcessorStartRoute.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/mifos/processor/bulk/camel/routes/ProcessorStartRoute.java b/src/main/java/org/mifos/processor/bulk/camel/routes/ProcessorStartRoute.java index df97d7aa..581ae756 100644 --- a/src/main/java/org/mifos/processor/bulk/camel/routes/ProcessorStartRoute.java +++ b/src/main/java/org/mifos/processor/bulk/camel/routes/ProcessorStartRoute.java @@ -194,7 +194,9 @@ private void setup() { JSONObject response = new JSONObject(); try { + logger.debug("Tenant name {}", exchange.getProperty(TENANT_NAME).toString()); String tenantSpecificWorkflowId = workflowId.replace("{dfspid}", exchange.getProperty(TENANT_NAME).toString()); + logger.debug("Starting workflow with id {}", tenantSpecificWorkflowId); String txnId = zeebeProcessStarter.startZeebeWorkflow(tenantSpecificWorkflowId, "", variables); if (txnId == null || txnId.isEmpty()) { response.put("errorCode", 500); From 75e62dc04d2b92c6d221c42e4f694f73cc1ea4d7 Mon Sep 17 00:00:00 2001 From: Ankita Ranjan Date: Wed, 28 Jun 2023 16:08:11 +0530 Subject: [PATCH 2/2] adding extra log statements --- .../processor/bulk/camel/routes/ProcessorStartRoute.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/mifos/processor/bulk/camel/routes/ProcessorStartRoute.java b/src/main/java/org/mifos/processor/bulk/camel/routes/ProcessorStartRoute.java index 581ae756..458e062b 100644 --- a/src/main/java/org/mifos/processor/bulk/camel/routes/ProcessorStartRoute.java +++ b/src/main/java/org/mifos/processor/bulk/camel/routes/ProcessorStartRoute.java @@ -194,9 +194,9 @@ private void setup() { JSONObject response = new JSONObject(); try { - logger.debug("Tenant name {}", exchange.getProperty(TENANT_NAME).toString()); + logger.info("Tenant name {}", exchange.getProperty(TENANT_NAME).toString()); String tenantSpecificWorkflowId = workflowId.replace("{dfspid}", exchange.getProperty(TENANT_NAME).toString()); - logger.debug("Starting workflow with id {}", tenantSpecificWorkflowId); + logger.info("Starting workflow with id {}", tenantSpecificWorkflowId); String txnId = zeebeProcessStarter.startZeebeWorkflow(tenantSpecificWorkflowId, "", variables); if (txnId == null || txnId.isEmpty()) { response.put("errorCode", 500);