mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
Add node address information to logs (#7941)
This commit is contained in:
committed by
Harshavardhana
parent
be9baa1464
commit
fbfc9a61ec
@@ -331,6 +331,7 @@ func logIf(ctx context.Context, err error) {
|
||||
DeploymentID: req.DeploymentID,
|
||||
Level: ErrorLvl.String(),
|
||||
RemoteHost: req.RemoteHost,
|
||||
Host: req.Host,
|
||||
RequestID: req.RequestID,
|
||||
UserAgent: req.UserAgent,
|
||||
Time: time.Now().UTC().Format(time.RFC3339Nano),
|
||||
|
||||
Reference in New Issue
Block a user