-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
Problem
FusionCache has "noisy" Information logs which cannot be changed.
Unless we change minimum log level to Warning (and potentially lose out on some other helpful logs), we are sending over 400 million logs a day to our log index with debug information like:
FUSION [N="FusionCache" I="0HNIIUAFGVRGU"] (O="0HNIIUAFH0SVJ" K="<snip>"): GetOrSetAsync<T> call "FEO[DUR=1m LKTO=/ SKMR=N SKMW=N SKDR=N SKDW=N SKDRWS=N MDUR=/ DDUR=/ JIT=2s PR=N SZ=/ FS=Y FSMAX=01:00:00 DFSMAX=/ FSTHR=10s FSTO=1s FHTO=/ TOFC=N DSTO=1s DHTO=/ ABDO=Y SBN=N ABBO=Y AC=N]"
FUSION [N="FusionCache" I="0HNIIUAFGVRGU"] (O="0HNIIUAFH0SVG" K="<snip>"): GetOrSetAsync<T> return "FE(M)[T=2026-01-13T22:29:33.810441, LEXP=2026-01-13T22:30:33.810441][S=N, EEXP=/, LM=/, ET=/, S=/, P=Normal]"
Solution
Similar to other logging in the library, add a configurable LogLevel for these logs.
Alternatives
Using built in minimum LogLevel but this is not particularly granular.
Additional context
This was changed somewhat recently from Debug to Information level:
371e627
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request