Skip to content

Commit

Permalink
[bug 750236] Remove Arecibo logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlr committed Dec 12, 2012
1 parent 573d498 commit 0d31c22
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 21 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@
[submodule "vendor/src/python-recaptcha"] [submodule "vendor/src/python-recaptcha"]
path = vendor/src/python-recaptcha path = vendor/src/python-recaptcha
url = https://github.com/bltravis/python-recaptcha.git url = https://github.com/bltravis/python-recaptcha.git
[submodule "vendor/src/django-arecibo"]
path = vendor/src/django-arecibo
url = https://github.com/andymckay/django-arecibo.git
[submodule "vendor/src/elasticutils"] [submodule "vendor/src/elasticutils"]
path = vendor/src/elasticutils path = vendor/src/elasticutils
url = git://github.com/mozilla/elasticutils.git url = git://github.com/mozilla/elasticutils.git
Expand Down
16 changes: 0 additions & 16 deletions settings.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@
'twitter.middleware.SessionMiddleware', 'twitter.middleware.SessionMiddleware',
'sumo.middleware.PlusToSpaceMiddleware', 'sumo.middleware.PlusToSpaceMiddleware',
'commonware.middleware.ScrubRequestOnException', 'commonware.middleware.ScrubRequestOnException',
'django_arecibo.middleware.AreciboMiddlewareCelery',
'commonware.response.middleware.GraphiteRequestTimingMiddleware', 'commonware.response.middleware.GraphiteRequestTimingMiddleware',
'waffle.middleware.WaffleMiddleware', 'waffle.middleware.WaffleMiddleware',
) )
Expand Down Expand Up @@ -880,7 +879,6 @@ def read_only_mode(env):
CELERYD_LOG_LEVEL = logging.INFO CELERYD_LOG_LEVEL = logging.INFO
CELERYD_CONCURRENCY = 4 CELERYD_CONCURRENCY = 4
CELERY_EAGER_PROPAGATES_EXCEPTIONS = True # Explode loudly during tests. CELERY_EAGER_PROPAGATES_EXCEPTIONS = True # Explode loudly during tests.
CELERY_IMPORTS = ['django_arecibo.tasks']


# Wiki rebuild settings # Wiki rebuild settings
WIKI_REBUILD_TOKEN = 'sumo:wiki:full-rebuild' WIKI_REBUILD_TOKEN = 'sumo:wiki:full-rebuild'
Expand Down Expand Up @@ -963,20 +961,6 @@ def read_only_mode(env):
#'helpfulvotes': 'redis://localhost:6379?socket_timeout=0.5&db=1', #'helpfulvotes': 'redis://localhost:6379?socket_timeout=0.5&db=1',
} }


# Set this to enable Arecibo (http://www.areciboapp.com/) error reporting:
ARECIBO_SERVER_URL = ''


def dont_log_crawler_404s(request, status, **kw):
ua = request.META.get('HTTP_USER_AGENT', '').lower()
if (status == 404 and ('googlebot' in ua or 'bingbot' in ua)):
return False
return True

ARECIBO_SETTINGS = {
'CALLBACKS': [dont_log_crawler_404s],
}

HELPFULVOTES_UNHELPFUL_KEY = 'helpfulvotes_topunhelpful' HELPFULVOTES_UNHELPFUL_KEY = 'helpfulvotes_topunhelpful'


LAST_SEARCH_COOKIE = 'last_search' LAST_SEARCH_COOKIE = 'last_search'
Expand Down
1 change: 0 additions & 1 deletion vendor/kitsune.pth
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ src/redis-py
src/django-ratelimit src/django-ratelimit
src/django-recaptcha src/django-recaptcha
src/python-recaptcha src/python-recaptcha
src/django-arecibo
src/oedipus src/oedipus
src/elasticutils src/elasticutils
src/django-tastypie src/django-tastypie
Expand Down
1 change: 0 additions & 1 deletion vendor/src/django-arecibo
Submodule django-arecibo deleted from fe59dd

0 comments on commit 0d31c22

Please sign in to comment.