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

[Question] JSON Logback section 3.2 #17554

Open
agreedSkiing opened this issue Sep 9, 2024 · 0 comments
Open

[Question] JSON Logback section 3.2 #17554

agreedSkiing opened this issue Sep 9, 2024 · 0 comments

Comments

@agreedSkiing
Copy link

Article and Module Links
https://www.baeldung.com/java-log-json-output
https://github.com/eugenp/tutorials/tree/master/logging-modules/logback

Question

Is there still a reason to have section 3.2 that uses the ch.qos.logback.contrib dependecy since log logback has native json support as of versions 1.3.8/1.4.8 for json printing that also follows?

JsonEncoder follows the JSON Lines standard. It transforms a logging event into a valid json text in conformance with RFC-8259.

https://logback.qos.ch/manual/encoders.html#JsonEncoder

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