Skip to content

Commit

Permalink
Change "Could not split namespace bundle" logging level to debug (apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljmarshall authored Mar 14, 2022
1 parent 97bd57a commit e61422c
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,11 @@ public Set<String> findBundlesToSplit(final LoadData loadData, final PulsarServi
if (bundleCount < maxBundleCount) {
bundleCache.add(bundle);
} else {
log.info(
"Could not split namespace bundle {} because namespace {} has too many bundles: {}",
bundle, namespace, bundleCount);
if (log.isDebugEnabled()) {
log.debug(
"Could not split namespace bundle {} because namespace {} has too many bundles:"
+ "{}", bundle, namespace, bundleCount);
}
}
} catch (Exception e) {
log.warn("Error while getting bundle count for namespace {}", namespace, e);
Expand Down

0 comments on commit e61422c

Please sign in to comment.