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

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

Open
nicgirault opened this issue Jan 14, 2025 · 0 comments
Labels

Comments

@nicgirault
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant