You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Apostolis Giannakidis <ap...@gmail.com> on 2016/01/21 15:01:03 UTC
Easy way to use TCP instead of UDP in SyslogAppender in log4j 1.2.17
To my understanding log4j 1.2.17 supports only UDP connections for its
SyslogAppender. The API does not provide a way to configure the
SyslogAppender to use TCP instead. Log4j 2 API provides such configuration.
Is there an easy way that I could modify the log4j 1.2.17 SyslogAppender to
use TCP instead of UDP or is my only option to upgrade to log4j 2?
Thank you,
Apostolis Giannakidis
Re: Easy way to use TCP instead of UDP in SyslogAppender in log4j 1.2.17
Posted by Gary Gregory <ga...@gmail.com>.
"It's just a small matter of programming" a friend of mine used to say.
Joking aside, I would do all I can to move to Log4j 2 as version 1 is EOL.
I personally do not have the time to help on version 1 and 2, so I focus on
2.
Gary
Gary
On Jan 21, 2016 6:01 AM, "Apostolis Giannakidis" <ap...@gmail.com>
wrote:
> To my understanding log4j 1.2.17 supports only UDP connections for its
> SyslogAppender. The API does not provide a way to configure the
> SyslogAppender to use TCP instead. Log4j 2 API provides such configuration.
>
> Is there an easy way that I could modify the log4j 1.2.17 SyslogAppender to
> use TCP instead of UDP or is my only option to upgrade to log4j 2?
>
> Thank you,
> Apostolis Giannakidis
>