mirror of
https://github.com/pgsty/minio.git
synced 2026-08-07 16:21:14 +03:00
Remove logging info from OBDInfoHandler (#10727)
A lot of logging data is counterproductive. A better implementation with precise useful log data can be introduced later.
This commit is contained in:
@@ -148,19 +148,6 @@ func getLocalMemOBD(ctx context.Context, r *http.Request) madmin.ServerMemOBDInf
|
||||
}
|
||||
}
|
||||
|
||||
func getLocalLogOBD(ctx context.Context, r *http.Request) madmin.ServerLogOBDInfo {
|
||||
addr := r.Host
|
||||
if globalIsDistErasure {
|
||||
addr = GetLocalPeer(globalEndpoints)
|
||||
}
|
||||
|
||||
log := globalConsoleSys.Content()
|
||||
return madmin.ServerLogOBDInfo{
|
||||
Addr: addr,
|
||||
Entries: log,
|
||||
}
|
||||
}
|
||||
|
||||
func getLocalProcOBD(ctx context.Context, r *http.Request) madmin.ServerProcOBDInfo {
|
||||
addr := r.Host
|
||||
if globalIsDistErasure {
|
||||
|
||||
Reference in New Issue
Block a user