Neo4j http.log empty



我正在尝试为Enterprise 2.0 Neo4j服务器打开http日志记录。

按照本文档进行操作后,将以下喜欢添加到neo4j-server.properties

org.neo4j.server.http.log.enabled=true
# Logging policy file that governs how HTTP log output is presented and
# archived. Note: changing the rollover and retention policy is sensible, but
# changing the output format is less so, since it is configured to use the
# ubiquitous common log format
org.neo4j.server.http.log.config=conf/neo4j-http-logging.xml

即使重新启动服务器,然后运行插入节点的基本 Ruby 脚本(如果需要,应请求),data/log/http.log文件仍然是零字节。

猜我在这里错过了一些完全明显的东西,所以请耐心等待。谢谢。

更新 9/26/14

我仍然在 Neo4j 2.1.2 中看到此问题

有没有人设法让HTTP日志工作?

谷歌群组上有一个可能的解决方案,您可以在启动服务器之前触摸 http.log 文件,但仍然可以获得一个空日志文件。

目前,我们可能会尝试放置一个反向代理来记录请求和响应。

>我在 Neo4j 2.0.1 中看到这个问题。我在Neo4j Github问题跟踪器中添加了一个问题,希望能得到解决。

https://github.com/neo4j/neo4j/issues/2219

最新更新