diff --git a/logger/zap.go b/logger/zap.go index e9f51a3..267d763 100644 --- a/logger/zap.go +++ b/logger/zap.go @@ -59,9 +59,9 @@ func createZapLogger(logOutputFile string, logDevelopment bool) *zap.Logger { if logDevelopment { development := zap.Development() - zapLogger = zap.New(core, development, zap.AddCaller(), zap.AddStacktrace(zap.ErrorLevel)) + zapLogger = zap.New(core, development, zap.AddCaller()) } else { - zapLogger = zap.New(core, zap.AddCaller(), zap.AddStacktrace(zap.ErrorLevel)) + zapLogger = zap.New(core, zap.AddCaller()) } return zapLogger