mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-30 23:33:06 +08:00
zap
This commit is contained in:
@@ -26,7 +26,7 @@ func NewRootCmd(name string) (rootCmd *RootCmd) {
|
||||
if err := rootCmd.getConfFromCmdAndInit(cmd); err != nil {
|
||||
return err
|
||||
}
|
||||
return log.InitFromConfig(name, config.Config.Log.RemainLogLevel)
|
||||
return log.InitFromConfig(name, config.Config.Log.RemainLogLevel, config.Config.Log.IsStdout, config.Config.Log.IsJson)
|
||||
},
|
||||
}
|
||||
rootCmd.Command = c
|
||||
|
||||
Reference in New Issue
Block a user