Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef33a8 commit 95d37e9Copy full SHA for 95d37e9
README.md
@@ -94,7 +94,7 @@ import logging
94
logging.basicConfig(filename='/tmp/testgres.log')
95
96
# enable logging, and create two different nodes
97
-testgres.configure_testgres(enable_python_logging=True)
+testgres.configure_testgres(use_python_logging=True)
98
node1 = testgres.get_new_node().init().start()
99
node2 = testgres.get_new_node().init().start()
100
@@ -103,7 +103,7 @@ node1.execute('select 1')
103
node2.execute('select 2')
104
105
# disable logging
106
-testgres.configure_testgres(enable_python_logging=False)
+testgres.configure_testgres(use_python_logging=False)
107
```
108
109
Look at `tests/test_simple.py` file for a complete example of the logging
0 commit comments