logging - Stop Log from Outputting in py2neo -
how can stop py2neo spitting out each created relationship/node, following:
(http://localhost:7474/db/data/' ref=u'relationship/13441' start=u'node/13446' end=u'node/3' type=u'in' properties={}>,)
as encouraged this page, when set below line off
java.util.logging.consolehandler.level=off
i silence logging when call function creates relationship/node. however, if directly create (graph.create(...) in main, still see print console.
if talking running graph.create
python console value see return value method, not log entry.
note logging setting refer server, not driver.
Comments
Post a Comment