I’m not sure I understand the question. Have you looked at the code?  The 
syslog appender is nothing more than the SocketAppender hardwired to use one of 
those two layouts. However, there is nothing preventing someone from using 
those Layouts with a different appender.

Ralph


> On Apr 5, 2017, at 3:57 AM, Mikael Ståldal <mikael.stal...@magine.com> wrote:
> 
> Why do we have both SyslogAppender and SyslogLayout/RFC5424Layout?
> 
> -- 
>  
> 
> Mikael Ståldal
> Senior software developer 
> 
> Magine TV
> mikael.stal...@magine.com <mailto:mikael.stal...@magine.com>    
> Grev Turegatan 3  | 114 46 Stockholm, Sweden  |   www.magine.com  
> <http://www.magine.com/>
> 
> Privileged and/or Confidential Information may be contained in this message. 
> If you are not the addressee indicated in this message
> (or responsible for delivery of the message to such a person), you may not 
> copy or deliver this message to anyone. In such case, 
> you should destroy this message and kindly notify the sender by reply email.  
>  

Reply via email to