Skip to content

Commit

Permalink
Merge pull request #993 from d3sw/ONECOND-2310
Browse files Browse the repository at this point in the history
ONECOND-2310 - Restricting the debug statement
  • Loading branch information
pradeeppalat01 authored Jan 29, 2024
2 parents 0b5bf0f + 758648a commit 747624c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ public void sweep(List<String> workflowIds, WorkflowExecutor executor) throws Ex

Future<?> future = es.submit(() -> {
NDC.push("sweep-" + UUID.randomUUID().toString());
logger.debug("Calling decider from sweeper for workflow {}", workflowId);
if (logger.isDebugEnabled()) {
logger.debug("Calling decider from sweeper for workflow {}", workflowId);
}
try {

WorkflowContext ctx = new WorkflowContext(config.getAppId());
Expand Down

0 comments on commit 747624c

Please sign in to comment.