mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-16 14:59:01 +08:00
fix cron
This commit is contained in:
@@ -95,7 +95,7 @@ func NewZapLogger() (*ZapLogger, error) {
|
||||
Encoding: "json",
|
||||
EncoderConfig: zap.NewProductionEncoderConfig(),
|
||||
OutputPaths: []string{config.Config.Log.StorageLocation},
|
||||
ErrorOutputPaths: []string{"stderr"},
|
||||
ErrorOutputPaths: []string{config.Config.Log.StorageLocation},
|
||||
}
|
||||
l, err := zapConfig.Build()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user