Neo4j http.log空了

see*_*ode 6 neo4j

我正在尝试打开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
Run Code Online (Sandbox Code Playgroud)

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

我猜我错过了一些完全明显的东西所以请耐心等待.谢谢.

2014年9月26日更新

我仍然看到Neo4j 2.1.2的这个问题

wen*_*nic 1

有人设法让 http 日志正常工作吗?

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

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