chore(server): Move cache miss log statement to debug level

This is very annoying otherwise.
This commit is contained in:
Vincent Ambo 2019-10-28 18:23:56 +01:00 committed by Vincent Ambo
parent 4332d38f4f
commit 30e618b65b
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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)