mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 12:40:24 +03:00
Allow logging targets to be configured to receive minio (#8347)
specific errors, `application` errors or `all` by default. console logging on server by default lists all logs - enhance admin console API to accept `type` as query parameter to subscribe to application/minio logs.
This commit is contained in:
+1
-1
@@ -254,7 +254,7 @@ func handleCommonEnvVars() {
|
||||
|
||||
func logStartupMessage(msg string, data ...interface{}) {
|
||||
if globalConsoleSys != nil {
|
||||
globalConsoleSys.Send(msg)
|
||||
globalConsoleSys.Send(msg, string(logger.All))
|
||||
}
|
||||
logger.StartupMessage(msg, data...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user