mirror of
https://github.com/minio/minio.git
synced 2026-11-24 23:20:49 +00: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:
1 parent
df9894e275
commit
858e2a43df
7 files changed
-92
No files matched your search
@@ -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