Re: Using log4j SimpleSocketServer with log4j2

2016-01-26 Thread Gary Gregory
Nipuni, For Log4j 2, please see: org.apache.logging.log4j.core.net.server.TcpSocketServer org.apache.logging.log4j.core.net.server.UdpSocketServer Gary On Tue, Jan 26, 2016 at 9:25 PM, Nipuni Piyabasi Perera < [email protected]> wrote: > Hi all, > > I am trying to save logs sent to a serv

Using log4j SimpleSocketServer with log4j2

2016-01-26 Thread Nipuni Piyabasi Perera
Hi all, I am trying to save logs sent to a server(log4j SimpleSocketserver) via SocketAppender. I have tried this with log4j and log4j2 as follows. *Working scenario: * Log4j.properties configuration: # MY_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout. log4j.appender.MY_