Skip to content

Datadog API client is logging without possibility to silence or format output #2000

Open
@nicgirault

Description

@nicgirault

Describe the bug

This package logs to stdout without possibility to format or silence output. For example this log is not JSON formatted but arrives in our JSON formatted log file which is then wrongly indexed.

Expected behavior

From my point of view, it is not the responsability of this package to handle errors. This log (and probably others) should be removed. But it seems also acceptable to me to be able to configure the log level of the datadog api client when instantiating the client, but this is currently not possible.

Screenshots

Example of broken log file

Image

And resulting indexed logs

Image

Environment and Versions (please complete the following information):

  • package version 1.31.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions