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
3030 session.write_transaction(add_friends, " Arthur" , " Merlin" )
3131 session.read_transaction(print_friends, " Arthur" )
3232
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+
3345
3446 Installation
3547============
Original file line number Diff line number Diff line change @@ -516,7 +516,6 @@ def close(self):
516516 for address in list (self .connections ):
517517 self .remove (address )
518518 except TypeError as e :
519- print (e )
520519 pass
521520
522521 def closed (self ):
You can’t perform that action at this time.
0 commit comments