public void logExecution(Execution execution, Logger logger, Level level, String message, Object... args) {
        String finalMsg = tenantEnabled ? EXECUTION_PREFIX_WITH_TENANT + message : EXECUTION_PREFIX_NO_TENANT + message;
        Object[] executionArgs = tenantEnabled ?
            new Object[] { execution.getTenantId(), execution.getNamespace(), execution.getFlowId(), execution.getId() } :
            new Object[] { execution.getNamespace(), execution.getFlowId(), execution.getId() };
        Object[] finalArgs = ArrayUtils.addAll(executionArgs, args);
        logger.atLevel(level).log(finalMsg, finalArgs);
    }
@Test
    void logExecution() {
        var execution = Execution.builder().namespace("namespace").flowId("flow").id("execution").build();
        logService.logExecution(execution, log, Level.INFO, "Some log");
        logService.logExecution(execution, log, Level.INFO, "Some log with an {}", "attribute");
    }