You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Thierry Lam <la...@pcigeomatics.com> on 2005/04/26 14:44:20 UTC
Server, Client help
Let's say my server code looks like the following:
SocketPtr client;
int port = 12345;
ServerSocket *serverSocket = new ServerSocket( port );
while ( True )
{
// waiting for client to accept connection
client = sock->accept();
}
How can I redirect the logging output of the client to the logging file
of the server? In my design, each client is supposed to have a unique
LoggingPtr.
Thanks
Thierry