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 liangyepianzhou committed Dec 6, 2022
1 parent 028b014 commit 36556a1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,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 36556a1

Please sign in to comment.