Skip to content

Log warning if trace message exceeds Sanitizer.MAX_MESSAGE_LENGTH #1021

Closed

Description

Is your feature request related to a problem? Please describe.
I spent too much time debugging why we had an odd drop in a metric in a PowerBI dashboard that we power with our AI telemetry. The root cause ended up being some trace messages getting silently truncated.

Describe the solution you would like
Enabling SDKLogger should cause some warnings to be printed out in the cases where the messages exceed Sanitizer.MAX_MESSAGE_LENGTH.

Describe alternatives you have considered
n/a

Additional context
n/a

Activity

  1. trask commented on Aug 4, 2021

    @trask
    Member

    this is addressed now in 3.2.0-BETA.2

  2. ghost locked as resolved and limited conversation to collaborators on Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions