org.log4jfugue
Class Log4jAppenderDataGetter

Thinking about how to do this. Need to setup a SimpleSocketServer to listen for the socket messages. This will in turn use a SocketNode which is the class that deals with the messages themselves. The default SocketNode just turns around and relogs the message, but we'd instead just look at its contents and call the message processor. On the client side we'd setup the socket appender: # A1 is set to be a SocketAppender sending its output to the server running on the remote host, port 12345. log4j.appender.A1=org.apache.log4j.net.SocketAppender log4j.appender.A1.Port=4445 log4j.appender.A1.RemoteHost=[IP_ADDRESS_SERVER]

author:
btarbox

Field Summary
 String fileName
           
 Logger log
           
 
Constructor Summary
Log4jAppenderDataGetter()
           
 
Method Summary
 

Constructor Detail

Log4jAppenderDataGetter

Log4jAppenderDataGetter()


Method Detail