-
Notifications
You must be signed in to change notification settings - Fork 59
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
Multiple markers not handled correctly #35
Comments
Indeed, multiple markers are not yet supported. Could you give an example of logstash handles multiple markers / properties? |
When you add multiple markers with and, they get added as a reference, from
Then they can be added as a string as they are in that file
or as json properties as in:
Which is then added the same way as mdc properties. |
I've added support for multiple markers in the bugfix/multiple-markers branch. Could you please check and confirm, that this also fixes your issue? I'm not sure where your LS_APPEND_OBJECT comes from. |
Fix released in 2.2.0. |
Hi,
I'm having some problems with the gelf output, if I understand correctly, this line should loop over related markers and add them as properties like Mdc does.
logback-gelf/src/main/java/de/siegmar/logbackgelf/GelfEncoder.java
Line 337 in 97a14b7
With multiple markers I get a _marker="LS_APPEND_OBJECT" in my json output.
For example logstash logback adds the various markers as separate properties
Best regards,
Daniel
The text was updated successfully, but these errors were encountered: