diff options
author | 2013-09-23 13:51:29 +0300 | |
---|---|---|
committer | 2013-09-23 13:51:29 +0300 | |
commit | f84bbf2e5568a950799a83a0091af3985490b06e (patch) | |
tree | 32f007be0a0df561e2b97d2c0f8136ffa57d86ea | |
parent | oops (diff) | |
download | identity.gentoo.org-f84bbf2e5568a950799a83a0091af3985490b06e.tar.gz identity.gentoo.org-f84bbf2e5568a950799a83a0091af3985490b06e.tar.bz2 identity.gentoo.org-f84bbf2e5568a950799a83a0091af3985490b06e.zip |
add ldapdb entry to logging settings
-rw-r--r-- | okupy/settings/__init__.py | 4 | ||||
-rw-r--r-- | okupy/tests/settings.py | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/okupy/settings/__init__.py b/okupy/settings/__init__.py index 76f5ba1..7e0c4f0 100644 --- a/okupy/settings/__init__.py +++ b/okupy/settings/__init__.py @@ -140,6 +140,10 @@ LOGGING = { 'handlers': ['console' if DEBUG else 'syslog'], 'level': 'DEBUG' if DEBUG else 'INFO', }, + 'ldapdb': { + 'handlers': ['console' if DEBUG else 'syslog'], + 'level': 'DEBUG' if DEBUG else 'INFO', + }, 'paramiko': { 'handlers': ['console' if DEBUG else 'syslog'], 'level': 'DEBUG' if DEBUG else 'INFO', diff --git a/okupy/tests/settings.py b/okupy/tests/settings.py index deb2f15..57b184f 100644 --- a/okupy/tests/settings.py +++ b/okupy/tests/settings.py @@ -259,6 +259,10 @@ LOGGING = { 'handlers': ['console' if DEBUG else 'null'], 'level': 'DEBUG' if DEBUG else 'INFO', }, + 'ldapdb': { + 'handlers': ['console' if DEBUG else 'null'], + 'level': 'DEBUG' if DEBUG else 'INFO', + } } } |