Skip to content

Commit

Permalink
fix MultiDatacenterRepositoryCommandExecutor logging
Browse files Browse the repository at this point in the history
  • Loading branch information
moscicky committed Aug 2, 2024
1 parent 9785eef commit c38b67b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private <T> void execute(RepositoryCommand<T> command, boolean isRollbackEnabled
throw ExceptionWrapper.wrapInInternalProcessingExceptionIfNeeded(e, command.toString(), repoHolder.getDatacenterName());
}
} catch (Exception e) {
logger.warn("Failed to execute repository command: {} in ZK dc: {}", command, System.currentTimeMillis() - start, e);
logger.warn("Failed to execute repository command: {} in ZK dc: {} in: {} ms", command, repoHolder.getDatacenterName(), System.currentTimeMillis() - start, e);
if (isRollbackEnabled) {
rollback(executedRepoHolders, command);
}
Expand Down

0 comments on commit c38b67b

Please sign in to comment.