The server is now in a separate git project. While it is usable it was really meant to be a sample that users could use to start from to build their own server. We will be publishing a release soon.
Ralph > On Dec 11, 2017, at 1:13 AM, Abhinav Rana <abhinav.r...@oracle.com> wrote: > > Hello, > > So i have this task to log activities to a file, but it has to be done > remotely on the server side, Remote logging. > I found out that before log4j 2.6 to listen to a port we used TcpSocketServer > which started a server using LogEventBridge > * This class was in core.net.server which is no longer available > * Assuming it is not used anymore and the only similar/closest class, > TcpSocketManager > > My task was simple > 1. Send logging info to a port. > 2. Log info from port to a file. > > Socket appender configuration > > appender.socket.type = Socket > appender.socket.name= Socket_Appender > appender.socket.host = "IP address" > appender.socket.port = 8101 > appender.socket.layout.type = SerializedLayout > appender.socket.connectTimeoutMillis = 2000 > appender.socket.reconnectionDelayMillis = 1000 > appender.socket.protocol = TCP > > Then i tried this > > /*public static final Logger LOG = > LogManager.getLogger(myapp.class.getName());*/ > and got the following error > /**//*main ERROR TcpSocketManager (TCP:IPAddress:8111) caught exception and > will continue: java.net.SocketTimeoutException: connect timed out > */ > I need help how to go ahead. > > Thank You > Abhinav Rana > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org