mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
config: console logging should be enabled by default. (#1307)
This commit is contained in:
parent
33cd910d3a
commit
6b5699b15f
@ -46,6 +46,11 @@ func initConfig() *probe.Error {
|
||||
srvCfg.Version = globalMinioConfigVersion
|
||||
srvCfg.Region = "us-east-1"
|
||||
srvCfg.Credential = mustGenAccessKeys()
|
||||
// Enable console logger by default on a fresh run.
|
||||
srvCfg.Logger.Console = consoleLogger{
|
||||
Enable: true,
|
||||
Level: "fatal",
|
||||
}
|
||||
srvCfg.rwMutex = &sync.RWMutex{}
|
||||
// Create config path.
|
||||
err := createConfigPath()
|
||||
|
Loading…
Reference in New Issue
Block a user