mirror of
https://github.com/minio/minio.git
synced 2025-11-20 09:56:07 -05:00
Add admin API to send console log messages (#7784)
Utilized by mc admin console command.
This commit is contained in:
@@ -289,6 +289,8 @@ func serverMain(ctx *cli.Context) {
|
||||
globalSweepHealState = initHealState()
|
||||
}
|
||||
|
||||
// initialize globalConsoleSys system
|
||||
globalConsoleSys = NewConsoleLogger(context.Background(), globalEndpoints)
|
||||
// Configure server.
|
||||
var handler http.Handler
|
||||
handler, err = configureServerHandler(globalEndpoints)
|
||||
|
||||
Reference in New Issue
Block a user