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:
Shireesh Anjal
2020-10-28 06:11:48 +05:30
committed by GitHub
parent df9894e275
commit 858e2a43df
7 changed files with 0 additions and 92 deletions

View File

@@ -407,17 +407,6 @@ func (client *peerRESTClient) ProcOBDInfo(ctx context.Context) (info madmin.Serv
return info, err
}
// LogOBDInfo - fetch Log OBD information for a remote node.
func (client *peerRESTClient) LogOBDInfo(ctx context.Context) (info madmin.ServerLogOBDInfo, err error) {
respBody, err := client.callWithContext(ctx, peerRESTMethodLogOBDInfo, nil, nil, -1)
if err != nil {
return
}
defer http.DrainBody(respBody)
err = gob.NewDecoder(respBody).Decode(&info)
return info, err
}
// StartProfiling - Issues profiling command on the peer node.
func (client *peerRESTClient) StartProfiling(profiler string) error {
values := make(url.Values)