This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Turn on stdout & stderr by default for syntax-highlighter #60769
Open
Description
In sg.config.yaml, we set ignoreStdout and ignoreStderr for syntax-highlighter.
This is probably because the logging format doesn't quite match up.
[syntax-high...r] {"SeverityText":"ERROR","Timestamp":1709096407667318292,"InstrumentationScope":"worker","Caller":"build/main.go:376","Function":"main.main.func4","Body":"error encountered","Resource":{"service.name":"syntax_highlighter","service.instance.id":"cfb561e462bb"},"Attributes":{"port":41327,"pid":26,"error":"dial tcp 127.0.0.1:41327: connect: connection refused"}}
[syntax-high...r] {"SeverityText":"ERROR","Timestamp":1709096408110115209,"InstrumentationScope":"worker","Caller":"build/main.go:376","Function":"main.main.func4","Body":"error encountered","Resource":{"service.name":"syntax_highlighter","service.instance.id":"cfb561e462bb"},"Attributes":{"port":41327,"pid":26,"error":"dial tcp 127.0.0.1:41327: connect: connection refused"}}
^C[ repo-updater] ERROR repo-updater.UpdateScheduler.RunUpdateLoop scheduler/scheduler.go:185 error requesting repo update {"error": "context canceled", "uri": "github.com/postgres/postgres"}
- Fix logging format in http-server-stabilizer
- https://github.com/sourcegraph/sourcegraph/issues/60689
- Remove the ignoreStdout and ignoreStderr settings