question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LogstashEncoder not compatible with Logback 1.2.x

See original GitHub issue

Logback 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:closed
  • Created 7 years ago
  • Reactions:10
  • Comments:8

github_iconTop GitHub Comments

8reactions
philsttrcommented, Mar 15, 2017

4.9 released

5reactions
philsttrcommented, Feb 21, 2017

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found