about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-10-28T17·23+0100
committerVincent Ambo <github@tazj.in>2019-10-28T21·31+0100
commit30e618b65bdd330ea5904b2be00cbac46d5b03e3 (patch)
treea5834d44e9678b91af43549d13456c12ac49b7a0 /tools
parent4332d38f4f1250aebc6dc3e2bf05c67559fa57e7 (diff)
chore(server): Move cache miss log statement to debug level
This is very annoying otherwise.
Diffstat (limited to 'tools')
-rw-r--r--tools/nixery/server/builder/cache.go2
-rw-r--r--tools/nixery/server/storage/filesystem.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/nixery/server/builder/cache.go b/tools/nixery/server/builder/cache.go
index 4aed4b53463f..07ac9746d5f0 100644
--- a/tools/nixery/server/builder/cache.go
+++ b/tools/nixery/server/builder/cache.go
@@ -185,7 +185,7 @@ func layerFromCache(ctx context.Context, s *State, key string) (*manifest.Entry,
 		log.WithError(err).WithFields(log.Fields{
 			"layer":   key,
 			"backend": s.Storage.Name(),
-		}).Warn("failed to retrieve cached layer from storage backend")
+		}).Debug("failed to retrieve cached layer from storage backend")
 
 		return nil, false
 	}
diff --git a/tools/nixery/server/storage/filesystem.go b/tools/nixery/server/storage/filesystem.go
index c390a4d65cfe..8aca20aac2d0 100644
--- a/tools/nixery/server/storage/filesystem.go
+++ b/tools/nixery/server/storage/filesystem.go
@@ -73,7 +73,7 @@ func (b *FSBackend) ServeLayer(digest string, r *http.Request, w http.ResponseWr
 
 	log.WithFields(log.Fields{
 		"layer": digest,
-		"path": p,
+		"path":  p,
 	}).Info("serving layer from filesystem")
 
 	http.ServeFile(w, r, p)