lymboy opened a new pull request, #233: URL: https://github.com/apache/skywalking-go/pull/233
变更:tools/go-agent/instrument/logger/context.go 新增nil判断 变更原因:我们原有的项目是go1.21+go agent v0.4运行正常,但是升级go1.24+agent v0.6之后编译可以通过,但是启动时报nil panic。排查发现是项目中在init方法做初始化操作时调用logrus时底层WrapFormat调用GetLogContext发生nil panic了。具体排查记录记录在我的个人网站:https://lymboy.com/archives/go-skywalking-agent-logrus-nil-panic -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
