mirror of
https://github.com/minio/minio.git
synced 2025-11-12 23:01:39 -05: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:
@@ -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