From f74798b174bebe96e2a6e0299e95399ca033dbe0 Mon Sep 17 00:00:00 2001 From: Darren Dowker Date: Wed, 5 Jun 2024 19:33:46 -0700 Subject: [PATCH] more logs --- broker/fragment/store_gcs.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/broker/fragment/store_gcs.go b/broker/fragment/store_gcs.go index a1ce4d6f..80820e72 100644 --- a/broker/fragment/store_gcs.go +++ b/broker/fragment/store_gcs.go @@ -82,6 +82,10 @@ func (s *gcsBackend) Open(ctx context.Context, ep *url.URL, fragment pb.Fragment if err != nil { return nil, err } + log.WithFields(log.Fields{ + "ep": fmt.Sprintf("%+v", *ep), + "fragment": fmt.Sprintf("%+v", fragment), + }).Info("Open fragment") return client.Bucket(cfg.bucket).Object(cfg.rewritePath(cfg.prefix, fragment.ContentPath())).NewReader(ctx) }