public static TcpSocketServer createJsonSocketServer()

in log4j-server/src/main/java/org/apache/logging/log4j/server/TcpSocketServer.java [126:131]


    public static TcpSocketServer<InputStream> createJsonSocketServer(final int port) throws IOException {
        LOGGER.traceEntry(null, port);
        final TcpSocketServer<InputStream> socketServer =
                new TcpSocketServer<>(port, null, new JsonInputStreamLogEventBridge());
        return LOGGER.traceExit(socketServer);
    }