From 8bc9076d907da6ea38f4abcd28a719f5bdac7842 Mon Sep 17 00:00:00 2001 From: Simon Ding Date: Thu, 25 Jul 2024 20:34:43 +0800 Subject: [PATCH] fix: debug level default --- log/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/log.go b/log/log.go index 539cee2..e1048b7 100644 --- a/log/log.go +++ b/log/log.go @@ -15,7 +15,7 @@ const dataPath = "./data" func init() { atom = zap.NewAtomicLevel() - + atom.SetLevel(zap.DebugLevel) filer, _, err := zap.Open(filepath.Join(dataPath, "polaris.log")) if err != nil { panic(err)