Skip to content

Ability to disable dd.trace_id / dd.span_id additions to log messages #720

@spdaley

Description

@spdaley

Right now when using this library our log messages are annotated with [dd.trace_id=8580943195921719553 dd.span_id=7441208578068594400] entries.

Is it possible to turn those off? We don't actually use them and it just makes our log messages unnecessarily longer than they have to be.

If it's not possible, would it be possible to add maybe an environment variable to govern whether or not to append those?

Note, our primary reason for using this library was to resolve some performance / error issues we used to run into with pushing large amounts of logs. Datadog support recommended using this instead and it seems to have helped in that area so we like using it. We'd just like to turn off the appending of that additional message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions