So here is the scenario:
- I have a Neo4J server working locally with some data in it
- I have a web application using
spring-data-neo4j
The following code is based on the Cineasts code example :
public interface CrewRepository extends GraphRepository<Crew> { Iterable<Crew> findByNameLike(String name); @Query("start thinker=node({0}) match thinker-[:crews]-crews return crews") Set<Crew> findByThinker(Long thinkerId); }
No news here. The problem is that the findByNameLike request findByNameLike not work, and findByThinker does.
I modified my log configuration file several times β the final version β below, but it doesnβt matter what I try, I donβt see any requests that are logged β either in my log file or on the server.
<logger name="org.neo4j"> <level value="DEBUG" /> <appender-ref ref="console" /> </logger> <logger name="org.springframework.data.neo4j"> <level value="DEBUG" /> <appender-ref ref="console" /> </logger> <root> <priority value="error" /> <appender-ref ref="console" /> </root>
All I want is a query log so that I can see if this is an error on spring-data-neo4j , or if I missed something ... I looked at the documentation of both, code examples and could not find anything specifically.
Any help? Thanks!
source share