Neo4j REST queries logged on neo4j server

2019-09-07 00:11发布

问题:

How can I log queries that are run by via the REST API on the neo4j server? I tried enabling the http logs on the server but the http log file in blank when I run a query using Neo4jClient.

回答1:

Just enable http-logging:

http://docs.neo4j.org/chunked/stable/server-configuration.html#_http_logging_configuration

This was only fixed in a recent version (so please try 2.1.2)