@@ -121,8 +121,6 @@ func (fms *FileManagerService) UpdateOverview(
121121 defer backoffCancel ()
122122
123123 sendUpdateOverview := func () (* mpi.UpdateOverviewResponse , error ) {
124- slog .DebugContext (newCtx , "Sending update overview request" , "request" , request ,
125- "parent_correlation_id" , correlationID )
126124 if fms .fileServiceClient == nil {
127125 return nil , errors .New ("file service client is not initialized" )
128126 }
@@ -131,6 +129,14 @@ func (fms *FileManagerService) UpdateOverview(
131129 return nil , errors .New ("CreateConnection rpc has not being called yet" )
132130 }
133131
132+ slog .InfoContext (newCtx , "Updating file overview" ,
133+ "instance_id" , request .GetOverview ().GetConfigVersion ().GetInstanceId (),
134+ "parent_correlation_id" , correlationID ,
135+ )
136+ slog .DebugContext (newCtx , "Sending update overview request" ,
137+ "request" , request , "parent_correlation_id" , correlationID ,
138+ )
139+
134140 response , updateError := fms .fileServiceClient .UpdateOverview (newCtx , request )
135141
136142 validatedError := grpc .ValidateGrpcError (updateError )
@@ -178,8 +184,6 @@ func (fms *FileManagerService) setupIdentifiers(ctx context.Context, iteration i
178184 }
179185
180186 newCtx := context .WithValue (ctx , logger .CorrelationIDContextKey , requestCorrelationID )
181- slog .InfoContext (newCtx , "Updating file overview" , "instance_id" , logger .GetCorrelationIDAttr (ctx ),
182- "parent_correlation_id" , correlationID )
183187
184188 return newCtx , correlationID
185189}
0 commit comments