-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
In certain scenarios, we may want to use the go leark tool to detect goroutine leaks. In the context of log/logger.go:375, a goroutine is created for log output. However, it is not possible for us to close this goroutine from our project.
please provide some method to close it, thank you!
leaks.go:78: found unexpected goroutines:
[Goroutine 19 in state select, with github.com/baidubce/bce-sdk-go/util/log.NewLogger.func1 on top of the stack:
goroutine 19 [select]:
github.com/baidubce/bce-sdk-go/util/log.NewLogger.func1()
/mod/github.com/baidubce/[email protected]/util/log/logger.go:375 +0xec
created by github.com/baidubce/bce-sdk-go/util/log.NewLogger
/mod/github.com/baidubce/[email protected]/util/log/logger.go:368 +0x244
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels