diff --git a/src/leveled_log.erl b/src/leveled_log.erl index d379ceef..a0f57095 100644 --- a/src/leveled_log.erl +++ b/src/leveled_log.erl @@ -200,7 +200,7 @@ {"PC008", {info, "Merge from level ~w to merge into ~w files below"}}, {"PC009", - {info, "File ~s to simply switch levels to level ~w"}}, + {debug, "File ~s to simply switch levels to level ~w"}}, {"PC010", {info, "Merge to be commenced for FileToMerge=~s with MSN=~w"}}, {"PC011", @@ -216,7 +216,7 @@ {info, "Slow fetch from SFT ~w of ~w us at level ~w " ++ "with result ~w"}}, {"PC017", - {info, "Notified clerk of manifest change"}}, + {debug, "Notified clerk of manifest change"}}, {"PC018", {info, "Saved manifest file"}}, {"PC019", @@ -224,9 +224,9 @@ {"PC020", {warn, "Empty prompt deletions at ManifestSQN=~w"}}, {"PC021", - {info, "Prompting deletions at ManifestSQN=~w"}}, + {debug, "Prompting deletions at ManifestSQN=~w"}}, {"PC022", - {info, "Storing reference to deletions at ManifestSQN=~w"}}, + {debug, "Storing reference to deletions at ManifestSQN=~w"}}, {"PC023", {info, "At level=~w file_count=~w avg_mem=~w " ++ "file with most memory fn=~s p=~w mem=~w"}}, diff --git a/src/leveled_penciller.erl b/src/leveled_penciller.erl index 33732469..8646537b 100644 --- a/src/leveled_penciller.erl +++ b/src/leveled_penciller.erl @@ -1316,7 +1316,12 @@ update_levelzero(L0Size, {PushedTree, PushedIdx, MinSQN, MaxSQN}, Due = CacheTooBig and JitterCheck, {UpdState0, _L0Bloom} = maybe_roll_memory(UpdState, Due, false), LogSubs = [NewL0Size, Due, State#state.work_ongoing], - leveled_log:log_timer("P0031", LogSubs, SW), + case Due of + true -> + leveled_log:log_timer("P0031", LogSubs, SW); + _ -> + ok + end, UpdState0 end.