File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,18 @@ Quick Example
30
30
session.write_transaction(add_friends, " Arthur" , " Merlin" )
31
31
session.read_transaction(print_friends, " Arthur" )
32
32
33
+ Logging
34
+ =============
35
+ The driver provides a built-in logging. The following example code enables debug logging and prints out logs at stdout:
36
+
37
+ .. code-block :: python
38
+
39
+ from neo4j.util import watch
40
+ import logging
41
+ from sys import stdout
42
+
43
+ watch(" neo4j.bolt" , logging.DEBUG , stdout)
44
+
33
45
34
46
Installation
35
47
============
Original file line number Diff line number Diff line change @@ -516,7 +516,6 @@ def close(self):
516
516
for address in list (self .connections ):
517
517
self .remove (address )
518
518
except TypeError as e :
519
- print (e )
520
519
pass
521
520
522
521
def closed (self ):
You can’t perform that action at this time.
0 commit comments