mirror of
https://github.com/minio/minio.git
synced 2025-11-24 03:27:44 -05:00
Add node address information to logs (#7941)
This commit is contained in:
committed by
Harshavardhana
parent
be9baa1464
commit
fbfc9a61ec
@@ -235,6 +235,7 @@ func newWebContext(r *http.Request, args ToKeyValuer, api string) context.Contex
|
||||
reqInfo := &logger.ReqInfo{
|
||||
DeploymentID: globalDeploymentID,
|
||||
RemoteHost: handlers.GetSourceIP(r),
|
||||
Host: getHostName(r),
|
||||
UserAgent: r.UserAgent(),
|
||||
API: api,
|
||||
BucketName: bucket,
|
||||
|
||||
Reference in New Issue
Block a user