Logging
从 7.1.5 版本开始,Spring 数据 Neo4j 为 Cypher notifications 提供了多个记录器。记录器 org.springframework.data.neo4j.cypher
包含了 Spring 数据 Neo4j 调用的所有语句和从服务器发送的所有通知。若要排除或提升某些类别,以下记录器已到位:
Spring Data Neo4j provides multiple loggers for Cypher notifications, starting with version 7.1.5.
The logger org.springframework.data.neo4j.cypher
includes all statements that were invoked by Spring Data Neo4j and all notifications sent from the server.
To exclude or elevate some categories, the following loggers are in place:
-
org.springframework.data.neo4j.cypher.performance
-
org.springframework.data.neo4j.cypher.hint
-
org.springframework.data.neo4j.cypher.unrecognized
-
org.springframework.data.neo4j.cypher.unsupported
-
org.springframework.data.neo4j.cypher.deprecation
-
org.springframework.data.neo4j.cypher.generic
-
org.springframework.data.neo4j.cypher.security
-
org.springframework.data.neo4j.cypher.topology