summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/configuration.rst3
-rw-r--r--docs/source/logging.rst2
2 files changed, 2 insertions, 3 deletions
diff --git a/docs/source/configuration.rst b/docs/source/configuration.rst
index d1f9f83..47b0a43 100644
--- a/docs/source/configuration.rst
+++ b/docs/source/configuration.rst
@@ -194,8 +194,8 @@ dictionaries.
::
logging = {
+ 'root': {'level': 'INFO', 'handlers': ['console']},
'loggers': {
- 'root': {'level': 'INFO', 'handlers': ['console']},
'sqlalchemy.engine': {'level': 'INFO', 'handlers': ['console']},
'__force_dict__': True
},
@@ -208,5 +208,4 @@ dictionaries.
from myapp import conf
assert isinstance(conf.logging.loggers, dict)
- assert isinstance(conf.logging.loggers['root'], dict)
assert isinstance(conf.logging.loggers['sqlalchemy.engine'], dict)
diff --git a/docs/source/logging.rst b/docs/source/logging.rst
index 940c7af..0060a56 100644
--- a/docs/source/logging.rst
+++ b/docs/source/logging.rst
@@ -31,8 +31,8 @@ The default configuration defines one handler and two loggers.
server = { ... }
logging = {
+ 'root' : {'level': 'INFO', 'handlers': ['console']},
'loggers': {
- 'root' : {'level': 'INFO', 'handlers': ['console']},
'myapp': {'level': 'DEBUG', 'handlers': ['console']}
},
'handlers': {