Skip to content

Commit c3a5b39

Browse files
authored
Remove file contents from log (#1000)
1 parent 0a5b5a3 commit c3a5b39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/file/file_manager_service.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ func (fms *FileManagerService) UpdateFile(
238238
defer backoffCancel()
239239

240240
sendUpdateFile := func() (*mpi.UpdateFileResponse, error) {
241-
slog.DebugContext(ctx, "Sending update file request", "request", request)
241+
slog.DebugContext(ctx, "Sending update file request", "request_file", request.GetFile(),
242+
"request_message_meta", request.GetMessageMeta())
242243
if fms.fileServiceClient == nil {
243244
return nil, errors.New("file service client is not initialized")
244245
}

0 commit comments

Comments
 (0)