chore(server): Move cache miss log statement to debug level
This is very annoying otherwise.
This commit is contained in:
parent
4332d38f4f
commit
30e618b65b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue