-
Notifications
You must be signed in to change notification settings - Fork 408
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
LogstashSocketAppender prefix example incorrect #158
Comments
Thanks for reporting! Fixed the documentation in commit 88b0c36 The |
@philsttr, this works, but in your example of the documentation I get the following messages:
for the following config:
What can I do to fix this? |
Hi @onema, Unfortunately, you're running into a backwards incompatibility introduced in logback (LOGBACK-1326), as mentioned in logstash-logback-encoder #232. I have submitted logback PR#383 to address this problem, but it has not gotten any attention in over a year (ping @ceki). Please help out by voting for LOGBACK-1326 and adding a thumbs up to PR#383 to try to get this addressed in logback. In the meantime, the only solution to get this working would be to downgrade logback-classic and logback-core to 1.2.0 (before the backwards incompatibility was introduced) |
Thanks for your response @philsttr, I up-voted and added a comment. Hopefully, it helps! |
I have tried using the example given in the README with my SpringBoot (1.3.2) app
but this results in an error
but if I remove the wrapping LayoutWrappingEncoder the code works.
so I assume this example is incorrect.
The text was updated successfully, but these errors were encountered: