Skip to content
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
@varungandhi-src

Description

@varungandhi-src

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"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    graph/syntax-highlighterRelated to issues with syntax highlightingobservabilityteam/graphGraph Team (previously Code Intel/Language Tools/Language Platform)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions