1.服务端配置 1)服务端配置文件log4j-server.properties #Define a narrow log category. A category like debug will produce some extra logs also from server itself log4j.rootLogger=ERROR, file #Define how the socket server should store the log events log4j.appender.f…