forked from TrueCloudLab/frostfs-s3-gw
[#754] Add CID and OID to logs
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
This commit is contained in:
parent
a68aca764b
commit
af7fbd6f32
7 changed files with 104 additions and 4 deletions
|
@ -348,6 +348,13 @@ func (h *handler) UploadPartCopy(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
h.log.Debug("copy details",
|
||||
zap.String("reqId", reqInfo.RequestID),
|
||||
zap.String("bucket", reqInfo.BucketName),
|
||||
zap.Stringer("cid", bktInfo.CID),
|
||||
zap.String("object", reqInfo.ObjectName),
|
||||
zap.Stringer("oid", info.ID))
|
||||
|
||||
response := UploadPartCopyResponse{
|
||||
ETag: info.HashSum,
|
||||
LastModified: info.Created.UTC().Format(time.RFC3339),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue