Skip to content

Commit

Permalink
[improve][ML] Print log when delete empty ledger. (#17859)
Browse files Browse the repository at this point in the history
(cherry picked from commit 716f5e2)
  • Loading branch information
mattisonchao authored and congbobo184 committed Nov 14, 2022
1 parent b4d8928 commit 54ecc2d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,7 @@ private synchronized void initializeBookKeeper(final ManagedLedgerInitializeLedg
} else {
iterator.remove();
bookKeeper.asyncDeleteLedger(li.getLedgerId(), (rc, ctx) -> {
if (log.isDebugEnabled()) {
log.debug("[{}] Deleted empty ledger ledgerId={} rc={}", name, li.getLedgerId(), rc);
}
log.info("[{}] Deleted empty ledger ledgerId={} rc={}", name, li.getLedgerId(), rc);
}, null);
}
}
Expand Down

0 comments on commit 54ecc2d

Please sign in to comment.