Skip to content

Commit

Permalink
Use correct logging level when null metadata is detected during showT…
Browse files Browse the repository at this point in the history
…able(). (#3477)

The logging level is current ERROR which is inaccurate.  It can be WARN.
  • Loading branch information
pankti-m committed Jan 12, 2023
1 parent dcab1d4 commit 5c7c924
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private int printTableRegistry() {
private void printMetadata(Map.Entry<CorfuDynamicKey, CorfuDynamicRecord> entry) {
StringBuilder builder;
if (entry.getValue().getMetadata() == null) {
log.error("metadata is NULL");
log.warn("metadata is NULL");
return;
}
try {
Expand Down

0 comments on commit 5c7c924

Please sign in to comment.