logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thierry Lam" <...@pcigeomatics.com>
Subject Server, Client help
Date Tue, 26 Apr 2005 12:44:20 GMT
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


Mime
View raw message