From 74e5e8649768b893a9f833941cc04affbd904fba Mon Sep 17 00:00:00 2001 From: Jamie Li Date: Wed, 22 Mar 2023 13:22:21 -0400 Subject: [PATCH] Fix logs Typo, make working more understandable (#47) * test * Cache Intel: support bazel and node * Cache Intel: support bazel and node * Cache Intel: support bazel and node * ignore linter error * ignore linter error * allow autodectect with key * allow autodectect with key * add yarn and graceful detect * clean up logs * remove lint for now * support golang cache * minor wording fix --- cache/rebuilder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/rebuilder.go b/cache/rebuilder.go index d6f1b8f7..479ab190 100644 --- a/cache/rebuilder.go +++ b/cache/rebuilder.go @@ -148,7 +148,7 @@ func (r rebuilder) rebuild(src, dst string) (err error) { return err } - level.Info(r.logger).Log("msg", "uploaded cache", "src", src, "total", humanize.Bytes(uint64(sw.written)), "comressed", humanize.Bytes(uint64(written))) + level.Info(r.logger).Log("msg", "uploaded cache", "src", src, "size before compression", humanize.Bytes(uint64(sw.written)), "size after compression", humanize.Bytes(uint64(written))) level.Debug(r.logger).Log( "msg", "archive created",