Skip to content

Commit ca70786

Browse files
paulyufan2Copilot
andauthored
Update cns/logger/cnslogger.go
Co-authored-by: Copilot <[email protected]> Signed-off-by: Paul Yu <[email protected]>
1 parent 11307e9 commit ca70786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/logger/cnslogger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func New(fileName string, logLevel, logTarget int, logDir string) (loggershim, e
4949
zapLogger := zap.New(
5050
platformCore,
5151
zap.AddCaller(),
52-
zap.AddStacktrace(zapcore.WarnLevel),
52+
zap.AddStacktrace(zapcore.WarnLevel),
5353
).With(zap.Int("pid", os.Getpid()))
5454

5555
return &logger{

0 commit comments

Comments
 (0)