mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
zap
This commit is contained in:
parent
2c08e1c361
commit
9d80220d68
@ -59,7 +59,7 @@ func NewZapLogger() (*ZapLogger, error) {
|
||||
Development: true,
|
||||
Encoding: "json",
|
||||
EncoderConfig: zap.NewProductionEncoderConfig(),
|
||||
//InitialFields: map[string]interface{}{"PID": os.Getegid()},
|
||||
InitialFields: map[string]interface{}{"PID": os.Getegid()},
|
||||
}
|
||||
zl := &ZapLogger{}
|
||||
if config.Config.Log.Stderr {
|
||||
|
Loading…
x
Reference in New Issue
Block a user