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 formatter: Adding the log level to the root of the logged object #140

Open
Miradorn opened this issue Nov 6, 2024 · 0 comments
Open

Comments

@Miradorn
Copy link

Miradorn commented Nov 6, 2024

Hey there!

I'm trying to migrate our codebase from an old formatter to LoggerJson, using Datadog format since we're using Datadog for tracing and metrics. Unfortunately at this point we're not using datadog for log management but another solution.
This other solution doesn't extract log levels from the syslog field but expect a top-level level field.

Would it be possible to add the level to the top level?
I can't seem to see a way how it could be done currently, so I think my question is, would a MR be accepted that adds that field for the datadog formatter?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant