Skip to content

Commit

Permalink
Merge pull request #144 from Netflix/log
Browse files Browse the repository at this point in the history
Change from debug/info to trace for compression
  • Loading branch information
samuelfu authored Jan 11, 2024
2 parents db4014a + acb608a commit 164af4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ public CachedData encode(Object o) {
if (b.length > compressionThreshold) {
byte[] compressed = compress(b);
if (compressed.length < b.length) {
getLogger().debug("Compressed %s from %d to %d",
getLogger().trace("Compressed %s from %d to %d",
o.getClass().getName(), b.length, compressed.length);
b = compressed;
flags |= COMPRESSED;
} else {
getLogger().info("Compression increased the size of %s from %d to %d",
getLogger().trace("Compression increased the size of %s from %d to %d",
o.getClass().getName(), b.length, compressed.length);
}

Expand Down

0 comments on commit 164af4b

Please sign in to comment.