Re: Preserving Backward-Compatibility While Replacing JsonLayout

2020-01-21 Thread Ralph Goers
Personally, I think you can make your life easier by not trying to replace JsonLayout. Then you don’t have to worry about backward compatibility. Alternatively, you could replace JsonLayout with a builder that uses the existing configuration elements but creates your new Layout. If you do that

Preserving Backward-Compatibility While Replacing JsonLayout

2020-01-21 Thread Volkan Yazıcı
While replacing JsonLayout, I am a little bit puzzled by a certain issue, which I will try to exemplify below: LogstashLayout.Builder contains - @PluginBuilderAttribute("prettyPrint") boolean prettyPrintEnabled; - void isPrettyPrintEnabled() - Builder setPrettyPrintEnabled(boolean prettyPrintEnabl