mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-30 06:22:44 +08:00
fix cron
This commit is contained in:
parent
ee738e11cd
commit
a348af74fa
@ -64,11 +64,12 @@ type ZapLogger struct {
|
|||||||
|
|
||||||
func NewZapLogger() (*ZapLogger, error) {
|
func NewZapLogger() (*ZapLogger, error) {
|
||||||
zapConfig := zap.Config{
|
zapConfig := zap.Config{
|
||||||
Level: zap.NewAtomicLevelAt(zapcore.DebugLevel),
|
Level: zap.NewAtomicLevelAt(zapcore.DebugLevel),
|
||||||
Development: true,
|
Development: true,
|
||||||
Encoding: "json",
|
Encoding: "json",
|
||||||
EncoderConfig: zap.NewProductionEncoderConfig(),
|
EncoderConfig: zap.NewProductionEncoderConfig(),
|
||||||
OutputPaths: []string{"stdout"},
|
OutputPaths: []string{"stdout"},
|
||||||
|
ErrorOutputPaths: []string{"stdout"},
|
||||||
Sampling: &zap.SamplingConfig{
|
Sampling: &zap.SamplingConfig{
|
||||||
Initial: 0,
|
Initial: 0,
|
||||||
Thereafter: 0,
|
Thereafter: 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user