import java.util.logging.Logger;
import java.util.logging.SocketHandler;
public class Main {
public static void main(String args[])throws Exception {
Logger logger = Logger.getLogger("logging");
logger.addHandler(new SocketHandler());
logger.warning("SocketHandler is working...");
}
}