[Python-modules-commits] [drf-haystack] 11/17: Log to console during tests.
Michael Fladischer
fladi at moszumanska.debian.org
Sat Jan 2 17:45:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch master
in repository drf-haystack.
commit 818ff5c90ee6f8405652335e72b97a179712d433
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Sat Jan 2 17:38:39 2016 +0100
Log to console during tests.
---
tests/settings.py | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/tests/settings.py b/tests/settings.py
index 24da78e..31d5954 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -87,25 +87,20 @@ LOGGING = {
'class': 'logging.StreamHandler',
'formatter': 'standard'
},
- 'file_handler': {
- 'level': 'DEBUG',
- 'class': 'logging.FileHandler',
- 'filename': os.path.join(DEFAULT_LOG_DIR, 'tests.log'),
- },
},
'loggers': {
'default': {
- 'handlers': ['file_handler'],
+ 'handlers': ['console_handler'],
'level': 'DEBUG',
'propagate': True,
},
'elasticsearch': {
- 'handlers': ['file_handler'],
+ 'handlers': ['console_handler'],
'level': 'DEBUG',
'propagate': True,
},
'elasticsearch.trace': {
- 'handlers': ['file_handler'],
+ 'handlers': ['console_handler'],
'level': 'DEBUG',
'propagate': True,
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/drf-haystack.git
More information about the Python-modules-commits
mailing list