Add logging of cache ratio

Two reasons for logging this:

- to assist in sizing the ledger cache;
- to resolve the mystery when there appear to be no fetches from the penciller (as the penciller does not report fetches from the ledger cache)
This commit is contained in:
Martin Sumner 2019-08-29 11:26:29 +01:00
parent e3913a6c07
commit ecda13872a
2 changed files with 42 additions and 19 deletions

View file

@ -80,6 +80,8 @@
{"B0020",
{warn, "Ratio of penciller cache size ~w to bookie's memory "
++ "cache size ~w is larger than expected"}},
{"B0021",
{info, "Bookie fetch RequestCount=~w and CacheCount=~w"}},
{"R0001",
{debug, "Object fold to process batch of ~w objects"}},