LogstashEncoder not compatible with Logback 1.2.x
See original GitHub issueLogback 1.2.0 made major changes to the Encoder
interface — specifically, Encoder
is now expected to return byte arrays instead of writing to an OutputStream
.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:10
- Comments:8
Top Results From Across the Web
LogstashEncoder not compatible with Logback 1.2.x #205
Hi, guys. I fixed this issue in my fork (branch is named 'logback-1.2'). It works for me in production just now.
Read more >Spring boot + Logback-logstash appender: Could not find an ...
I'm trying to have configurable JSON logs in a POC application, using logback-logstash encoder. Although I've defined all suggested ...
Read more >How to use LogstashEncoder with Examples? - eduCBA
LogsatshEncoder is the provision that helps log backing the appenders, layouts, and encoders specified in JSON or Jackson supported format. LogstashEncoder ...
Read more >Chapter 5: Encoders - Logback
Moreover, given that a layout has no control over when events get written out, layouts cannot aggregate events into batches. Contrast this with...
Read more >News - Logback - QOS.ch
To ensure backward compatibility of configuration files, ... In the next version of logback, i.e. 1.2.x, the read-write lock will no longer protect...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
4.9 released
Committed support for logback 1.2.0+, while remaining backwards compatible with logback 1.1.x.
Thanks for PR #206, @thelamon. While I did not merge it directly, I did reference it. When working on the backwards compatibility code, I found it was easier to start from scratch, since I had to put the 1.1.x compatible code back in.
This will be released soon as version 4.9. I’d really appreciate if you could test version 4.9-SNAPSHOT before I release it (you’ll have to build it yourself).