mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 06:01:51 +00:00
chore(server): Move cache miss log statement to debug level
This is very annoying otherwise.
This commit is contained in:
parent
3ac2d48697
commit
787222d637
|
@ -185,7 +185,7 @@ func layerFromCache(ctx context.Context, s *State, key string) (*manifest.Entry,
|
||||||
log.WithError(err).WithFields(log.Fields{
|
log.WithError(err).WithFields(log.Fields{
|
||||||
"layer": key,
|
"layer": key,
|
||||||
"backend": s.Storage.Name(),
|
"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
|
return nil, false
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,7 @@ func (b *FSBackend) ServeLayer(digest string, r *http.Request, w http.ResponseWr
|
||||||
|
|
||||||
log.WithFields(log.Fields{
|
log.WithFields(log.Fields{
|
||||||
"layer": digest,
|
"layer": digest,
|
||||||
"path": p,
|
"path": p,
|
||||||
}).Info("serving layer from filesystem")
|
}).Info("serving layer from filesystem")
|
||||||
|
|
||||||
http.ServeFile(w, r, p)
|
http.ServeFile(w, r, p)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user