Skip to content

Commit 95d37e9

Browse files
committed
Fix incorrect parameter name for enabling python logging in README.md
1 parent 2ef33a8 commit 95d37e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ import logging
9494
logging.basicConfig(filename='/tmp/testgres.log')
9595

9696
# enable logging, and create two different nodes
97-
testgres.configure_testgres(enable_python_logging=True)
97+
testgres.configure_testgres(use_python_logging=True)
9898
node1 = testgres.get_new_node().init().start()
9999
node2 = testgres.get_new_node().init().start()
100100

@@ -103,7 +103,7 @@ node1.execute('select 1')
103103
node2.execute('select 2')
104104

105105
# disable logging
106-
testgres.configure_testgres(enable_python_logging=False)
106+
testgres.configure_testgres(use_python_logging=False)
107107
```
108108

109109
Look at `tests/test_simple.py` file for a complete example of the logging

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy