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

Change the default logger behavior to adjust to the majority of APMs #6

Conversation

szymon6927
Copy link

Majority of APMs like: DataDog - they expect "message" property not "log_message" so I'm proposing to change it.

Secondly, if using string prefix then for exmaple DataDog with a default configuration has a problem with parsing values, for exmaple tags are not parsed as "event attributes" but all is displayed as a raw string. If we do not log the string prefix then every property will be tagged correctly.

Majority of APMs like: DataDog - they expect "message" property
not "log_message" so I'm proposing to change it.

Secondly, if using string prefix then for exmaple DataDog with a
default configuration has a problem with parsing values, for exmaple
tags are not parsed as "event attributes" but all is displayed
as a raw string. If we do not log the string prefix then every
property will be tagged correctly.
@szymon6927 szymon6927 force-pushed the display-log-as-json-only-without-str-prefix branch from 3e29d17 to bdde7dc Compare March 31, 2023 12:24
@dkraczkowski dkraczkowski merged commit 5c97d39 into kodemore:main Mar 31, 2023
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

Successfully merging this pull request may close these issues.

2 participants