Yes, that blog post is incorrect. The blog post links to our Jira issue. I have updated that to add the recommendation that user’s use JsonLayout and mention that the SocketServers are still supported.
The blog post doesn’t allow comments and I see no other way to correct them. It is rather annoying since we had this discussion with Jordan at the time. However, the blog entry was posted on April 20 and he only came to understand that the problem was with SerializedLayout on April 28. He never updated it. Ralph > On Oct 24, 2017, at 12:58 PM, Mikael Ståldal <mi...@apache.org> wrote: > > Elasic.co got it wrong in that blog post. The problem is not SockerAppender, > the problem is SerializedLayout. > > Maybe people were confusing the two, since SerializedLayout used to be > default layout for SockerAppender. But it has always been possible to > configure SockerAppender to use another layout. And since Log4j 2.9.0, > SerializedLayout is deprecated and no longer default in any appender. > > You can use SockerAppender with JsonLayout for sending log events to Logstash. > > > On 2017-10-24 08:25, itsg...@gmail.com wrote: >> Thanks. We have a situation where we have a thick client application (Java >> Swing) and we want the client side logs to be pushed to server side so that >> we can use for analysis. Socketappender is one option but looks like there >> are plan to depricate socket appenders because of security issues. Please >> refer to below >> https://www.elastic.co/blog/log4j-input-logstash >> -- >> Sent from: http://apache-logging.6191.n7.nabble.com/Log4j-Users-f4.html >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org >> For additional commands, e-mail: log4j-user-h...@logging.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-user-h...@logging.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org