jack15083 opened a new issue #1074:
URL: https://github.com/apache/dubbo-go/issues/1074
<!-- Please only use this template for submitting enhancement requests -->
**What would you like to be added**:
将Dubbo Go 框架内的日志库换成logrus, 开启ReportCaller,打印的日志caller路径不正确, Dubbo
Go框架打印的caller路径全部都是日志的调用路径
例如 打印的日志如下 全是dubbo-go/common/logger 的路径
{"file":"C:/Users/MST/go/pkg/mod/github.com/jack15083/[email protected]/common/logger/logging.go:47","func":"github.com/apache/dubbo-go/common/logger.Warnf","level":"warning","msg":"getListener()
= err:configListener already been closed","time":"2021-03-08 11:40:12.538"}
{"file":"C:/Users/MST/go/pkg/mod/github.com/jack15083/[email protected]/common/logger/logging.go:47","func":"github.com/apache/dubbo-go/common/logger.Warnf","level":"warning","msg":"getListener()
= err:configListener already been closed","time":"2021-03-08 11:40:15.065"}
{"file":"C:/Users/MST/go/pkg/mod/github.com/jack15083/[email protected]/common/logger/logging.go:47","func":"github.com/apache/dubbo-go/common/logger.Warnf","level":"warning","msg":"getListener()
= err:configListener already been closed","time":"2021-03-08 11:40:15.105"}
{"file":"C:/Users/MST/go/pkg/mod/github.com/jack15083/[email protected]/common/logger/logging.go:47","func":"github.com/apache/dubbo-go/common/logger.Warnf","level":"warning","msg":"getListener()
= err:configListener already been closed","time":"2021-03-08 11:40:15.388"}
**Why is this needed**:
希望可以支持打印出日志真实的调用方法及路径这样出问题,比较方便查问题原因。
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]