diff options
author | Theo Chatzimichos <tampakrap@gmail.com> | 2013-08-24 12:02:05 -0700 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gmail.com> | 2013-08-24 12:02:05 -0700 |
commit | 4c82e7f64a8cd2bba61ac20307df1565235467d8 (patch) | |
tree | afe4837152c60db5655e7213ef87bafa3be49005 | |
parent | Merge pull request #75 from tampakrap/tests_v2 (diff) | |
parent | stop spamming the logs when running the tests (diff) | |
download | identity.gentoo.org-4c82e7f64a8cd2bba61ac20307df1565235467d8.tar.gz identity.gentoo.org-4c82e7f64a8cd2bba61ac20307df1565235467d8.tar.bz2 identity.gentoo.org-4c82e7f64a8cd2bba61ac20307df1565235467d8.zip |
Merge pull request #78 from tampakrap/settings
stop spamming the logs when running the tests
-rw-r--r-- | okupy/tests/settings.py | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/okupy/tests/settings.py b/okupy/tests/settings.py index ac4e9df..316f165 100644 --- a/okupy/tests/settings.py +++ b/okupy/tests/settings.py @@ -237,22 +237,13 @@ LOGGING = { 'class': 'logging.StreamHandler', 'formatter': 'verbose', }, - 'syslog_v': { - 'level': 'INFO', - 'class': 'logging.handlers.SysLogHandler', - 'formatter': 'verbose', - 'address': '/dev/log', - }, 'console': { 'level': 'DEBUG', 'class': 'logging.StreamHandler', 'formatter': 'simple', }, - 'syslog': { - 'level': 'INFO', - 'class': 'logging.handlers.SysLogHandler', - 'formatter': 'simple', - 'address': '/dev/log', + 'null': { + 'class': 'logging.NullHandler', }, }, 'loggers': { @@ -262,15 +253,15 @@ LOGGING = { 'propagate': True, }, 'okupy': { - 'handlers': ['console_v' if DEBUG else 'syslog_v'], + 'handlers': ['console_v' if DEBUG else 'null'], 'level': 'DEBUG' if DEBUG else 'INFO', }, 'okupy_simple': { - 'handlers': ['console' if DEBUG else 'syslog'], + 'handlers': ['console' if DEBUG else 'null'], 'level': 'DEBUG' if DEBUG else 'INFO', }, 'django_auth_ldap': { - 'handlers': ['console' if DEBUG else 'syslog'], + 'handlers': ['console' if DEBUG else 'null'], 'level': 'DEBUG' if DEBUG else 'INFO', }, } |