Skip to content

It would be helpful if jl_print_task_backtraces() could print to an IO or a file, or limit the output #47932

@NHDaly

Description

@NHDaly

We log our stderr logs to DataDog, which doesn't work well with raw prints to stderr. DataDog expects JSON-formatted logs. We have two issues with the current approach:

  1. Most important: the datadog exporter seems to skip lines when there is too much dumped too fast. (I cannot find this described in their docs, but it's what we have experienced when using this feature.)
  2. the logs are hard to search and hard to export when they're logged as individual lines.

Another option that could help would be to skip logging finished Tasks, which would significantly reduce the amount of data logged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIndicates new feature / enhancement requestsobservabilitymetrics, timing, understandability, reflection, logging, ...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions