Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict LogRecord Body to string in Logging SDKs #188

Closed

Commits on Nov 16, 2021

  1. Restrict LogRecord Body to string in Logging SDKs

    Discussions in the Logs SIG have reached consensus that the Body
    of a LogRecord should be restricted in Logging SDKs.
    
    The logs data model technically allows the Body to be arbitrarily
    structured, but this is only for the sake of preserving the
    semantics of legacy log formats.
    
    It is intended that the Attributes field should be used for all
    structured logs and the Body should contain only a string message.
    djaglowski committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    72b9f08 View commit details
    Browse the repository at this point in the history