Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Fixed logging in simple_backend #643

merged 1 commit into from

2 participants


The logging refactor in 433e154 broke the simple_backend. It changed the logging import to the new log module, which doesn't contain any of the members used (logging.Handler, etc).

This fix simply reverts the import to the stdlib logging module.

@acdha acdha referenced this pull request
Closed problem #656

@acdha acdha merged commit ff3d6bc into django-haystack:master
@acdha acdha referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 10, 2012
  1. @stephenmcd
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  haystack/backends/
2  haystack/backends/
@@ -10,7 +10,7 @@
if settings.DEBUG:
- from haystack.utils import log as logging
+ import logging
class NullHandler(logging.Handler):
def emit(self, record):
Something went wrong with that request. Please try again.