diff --git a/cmd/logger/logger.go b/cmd/logger/logger.go index 87e0920df..362df5c13 100644 --- a/cmd/logger/logger.go +++ b/cmd/logger/logger.go @@ -343,7 +343,7 @@ func logIf(ctx context.Context, err error) { entry.API.Args.Bucket = hashString(entry.API.Args.Bucket) entry.API.Args.Object = hashString(entry.API.Args.Object) entry.RemoteHost = hashString(entry.RemoteHost) - entry.Message = reflect.TypeOf(err).String() + entry.Trace.Message = reflect.TypeOf(err).String() entry.Trace.Variables = make(map[string]string) }