mirror of
https://github.com/minio/minio.git
synced 2025-11-21 10:16:03 -05:00
Revert "Print golang http errors in MinIO log format (#16465)"
This reverts commit 1fd7946dce.
This commit is contained in:
@@ -590,7 +590,7 @@ func serverMain(ctx *cli.Context) {
|
||||
UseIdleTimeout(ctx.Duration("idle-timeout")).
|
||||
UseReadHeaderTimeout(ctx.Duration("read-header-timeout")).
|
||||
UseBaseContext(GlobalContext).
|
||||
UseCustomLogger(log.New(&goHTTPLogger{}, "", 0))
|
||||
UseCustomLogger(log.New(io.Discard, "", 0)) // Turn-off random logging by Go stdlib
|
||||
|
||||
go func() {
|
||||
globalHTTPServerErrorCh <- httpServer.Start(GlobalContext)
|
||||
|
||||
Reference in New Issue
Block a user