feature request: objectMessageAsJsonObject #187
Labels
agent-java
community
Issues and PRs created by the community
triage
Issues and PRs that need to be triaged
Log4j2
ObjectMessage
s are automatically converted to json objects.This makes the log statements fail, if the object cannot be converted to json or it generates invalid json.
I would propose a
objectMessageAsJsonObject
config.Putting it to false would just put the objects
toString()
result into themessage
field, as described in the documentation of log4j2.e.g.
produces:
This patch would probably enough to implement this feature:
The text was updated successfully, but these errors were encountered: