Skip to content

Instantly share code, notes, and snippets.

@ProGM
Created October 12, 2016 10:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ProGM/09b301e9f2a5f13fdf8bea14a0d9a7b9 to your computer and use it in GitHub Desktop.
Save ProGM/09b301e9f2a5f13fdf8bea14a0d9a7b9 to your computer and use it in GitHub Desktop.
Debugging neo4j.rb
Neo4j::ActiveBase.current_session.adaptor.logger.level = Logger::DEBUG
Neo4j::Core::CypherSession::Adaptors::Base.subscribe_to_query(&method(:puts))
Neo4j::Core::CypherSession::Adaptors::HTTP.subscribe_to_request(&method(:puts))
Neo4j::Core::CypherSession::Adaptors::Embedded.subscribe_to_transaction(&method(:puts))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment