mirror of
https://github.com/pgsty/minio.git
synced 2026-08-02 16:45:57 +03:00
Modify fatalIf, startup and update message logging code (#5780)
Use a common logging framework to log fatalIf, startup, Info and Update messages.
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
|
||||
|
||||
// Print a warning message if gateway is not ready for production before the startup banner.
|
||||
if !gw.Production() {
|
||||
logger.Println(colorYellow("\n *** Warning: Not Ready for Production ***"))
|
||||
logger.StartupMessage(colorYellow("\n *** Warning: Not Ready for Production ***"))
|
||||
}
|
||||
|
||||
// Print gateway startup message.
|
||||
|
||||
Reference in New Issue
Block a user