diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2013-08-24 20:44:29 +0200 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2013-08-24 20:44:29 +0200 |
commit | bf5431024e52d1ad8438b9641e6706d39b736305 (patch) | |
tree | afe4837152c60db5655e7213ef87bafa3be49005 | |
parent | Merge pull request #75 from tampakrap/tests_v2 (diff) | |
download | identity.gentoo.org-bf5431024e52d1ad8438b9641e6706d39b736305.tar.gz identity.gentoo.org-bf5431024e52d1ad8438b9641e6706d39b736305.tar.bz2 identity.gentoo.org-bf5431024e52d1ad8438b9641e6706d39b736305.zip |
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', }, } |