From beb03a7cd7008e8976876e07d118cf9232c2b8a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mats=20T=C3=B6rnberg?= Date: Wed, 26 Nov 2025 20:34:11 +0100 Subject: [PATCH] logs in pod --- cmd/cart/pool-server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/cart/pool-server.go b/cmd/cart/pool-server.go index c2b1f1f..f9ab384 100644 --- a/cmd/cart/pool-server.go +++ b/cmd/cart/pool-server.go @@ -302,6 +302,7 @@ func (s *PoolServer) HandleReservations(ctx context.Context, cartId cart.CartId, locationId = inventory.LocationID(*item.StoreId) } span.AddEvent("reserving item", trace.WithAttributes(attribute.String("sku", item.Sku), attribute.String("locationId", string(locationId)))) + log.Printf("reserving item %s at location %s for cart %s", item.Sku, string(locationId), cartId.String()) end := time.Now().Add(timeout) err := s.reservationService.ReserveForCart(ctx, inventory.CartReserveRequest{ CartID: inventory.CartID(cartId.String()),