mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
avoid logging gzipped body in trace output (#16172)
This commit is contained in:
@@ -67,6 +67,6 @@ func (r *RequestRecorder) Data() []byte {
|
||||
if r.LogBody {
|
||||
return r.buf.Bytes()
|
||||
}
|
||||
// ... otherwise we return <BODY> placeholder
|
||||
return BodyPlaceHolder
|
||||
// ... otherwise we return <BLOB> placeholder
|
||||
return blobBody
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user