在处理我们的Neo4J图形应用程序时为根记录器设置调试日志记录我遇到了以下统计信息,如消息:
[DEBUG] HttpURLConnection: sun.net.www.MessageHeader@537f294a7 pairs: {GET /?totalmem=12758278144+propids=0+os.arch=amd64+edition=community+dist=unknown+source=maven+numprocs=4+mac=005056c00008+revision=2.1.5:2.1-maint:529/45c3cc04946c2b0e243e48c8252e40cb85931744+tags=spring,sdn,web+os.version=6.3+reg=unreg+relids=0+v=2.1.5+heapsize=47775896+os.name=Windows_8.1+id=641ca9a78ddc53ae+labelids=3+nodeids=0+p=-1 HTTP/1.1: null}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_51}{Host: 52.0.233.188}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
[DEBUG] HttpURLConnection: sun.net.www.MessageHeader@167dbd419 pairs: {null: HTTP/1.1 200 OK}{Server: nginx/1.6.2}{Date: Sun, 30 Aug 2015 10:05:40 GMT}{Content-Type: text/html}{Content-Length: 164}{Last-Modified: Fri, 01 Jun 2012 09:48:29 GMT}{Connection: keep-alive}{ETag: "4fc88fed-a4"}{Accept-Ranges: bytes}
我有点惊讶,因为我没有在Neo4j中配置任何东西,告诉它与互联网上的某个Web服务器共享我的机器配置。
顺便说一下,我知道它是neo4j,因为版本号(2.1.5)和社区版关键字,以及ip号52.0.233.188,它解析为亚马逊aws dns条目,但将自己标识为udc.neo4j。有机
答案 0 :(得分:3)
我发现这是Neo4j在此处记录的默认使用数据收集器服务: http://neo4j.com/docs/stable/usage-data-collector.html
它包含有关如何禁用它的详细信息。话虽如此,我真的不喜欢这种在软件中越来越流行的东西。
更新1: 我已按照所述步骤(http://neo4j.com/docs/stable/usage-data-collector.html#_how_to_disable_udc)尝试禁用udc,但仍会联系UDC。这是从我的Eclipse IDE运行的,尚未经过打包的胖罐测试:
[DEBUG] HttpURLConnection: sun.net.www.MessageHeader@32bc2cb97 pairs: {GET /?totalmem=42932072448+propids=1323+os.arch=amd64+edition=community+dist=unknown+source=maven+numprocs=24+mac=005056c00008+revision=2.1.8:2.1-maint:687/5c83ce3a5ddf33259593f719153ce71a6fe89fc7+tags=spring,sdn,web+os.version=6.3+reg=unreg+relids=810+v=2.1.8+heapsize=156271600+os.name=Windows_8.1+id=b599d44d76a45a87+labelids=10+nodeids=409+p=-1 HTTP/1.1: null}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_51}{Host: 52.0.233.188}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
[DEBUG] HttpURLConnection: sun.net.www.MessageHeader@77bea48a9 pairs: {null: HTTP/1.1 200 OK}{Server: nginx/1.6.2}{Date: Mon, 31 Aug 2015 11:05:30 GMT}{Content-Type: text/html}{Content-Length: 164}{Last-Modified: Fri, 01 Jun 2012 09:48:29 GMT}{Connection: keep-alive}{ETag: "4fc88fed-a4"}{Accept-Ranges: bytes}