Article DetailsDetailsHelp DetailsIf you want to enable the Java driver logging as you suspect issues at Bolt protocol level you can use the following additional configuration method: withLogging See the example below for how to use it within your code. import org.neo4j.driver.*; import java.util.logging.Level; import static org.neo4j.driver.AuthTokens.basic; public class Demo { public static void main(String... args) { Config config = Config.builder().withLogging(Logging.console(Level.FINE)).build(); AuthToken auth = basic("neo4j", "password"); try (Driver driver = GraphDatabase.driver("neo4j://localhost:7687", auth, config)) { try (Session session = driver.session()) { session.run("RETURN 1").forEachRemaining(System.out::println); } } } } If you use Java Spring, there is an alternate method you should use.InformationTitleHow to enable Java driver logging ?Article Created Date3/15/2024, 10:57 PMURL Name4411057518995-How-to-enable-Java-driver-loggingLast Modified Date3/20/2024, 6:53 PM