feat(sync): enable regclient logs (#3363)

feat: enable regclient logs

Signed-off-by: Łukasz Jakimczuk <ljakimczuk@gmail.com>
This commit is contained in:
Lukasz Jakimczuk
2025-10-04 20:27:27 +02:00
committed by GitHub
parent 636a6b1820
commit 50c7fa6dd8
2 changed files with 5 additions and 3 deletions
+1
View File
@@ -308,6 +308,7 @@ func NewLoggerWithWriter(level string, writer io.Writer) Logger {
// GoroutineID adds goroutine-id to logs to help debug concurrency issues.
func GoroutineID() int {
var buf [64]byte
n := runtime.Stack(buf[:], false)
idField := strings.Fields(strings.TrimPrefix(string(buf[:n]), "goroutine "))[0]