public class AlluxioLog4jSocketNode extends Object implements Runnable
LoggingEventobjects from remote logging clients and writes the objects to designated log files. For each logging client, logging server creates a
AlluxioLog4jSocketNodeobject and starts a thread serving the logging requests of the client.
|Constructor and Description|
public AlluxioLog4jSocketNode(String baseLogsDir, Socket socket)
AlluxioLog4jSocketNode. Callers construct AlluxioLog4jSocketNode instances, passing the ownership of the socket parameter. From now on, the AlluxioLog4jSocketNode is responsible for closing the socket.
baseLogsDir- base directory for logs
socket- client socket from which to read
Copyright © 2022. All Rights Reserved.