Permalink
Browse files

[bug 750236] Remove Arecibo logging.

  • Loading branch information...
1 parent 573d498 commit 0d31c226d206da118de92979f9c4fe167ab207bb @rlr rlr committed Dec 12, 2012
Showing with 0 additions and 21 deletions.
  1. +0 −3 .gitmodules
  2. +0 −16 settings.py
  3. +0 −1 vendor/kitsune.pth
  4. +0 −1 vendor/src/django-arecibo
View
@@ -118,9 +118,6 @@
[submodule "vendor/src/python-recaptcha"]
path = vendor/src/python-recaptcha
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"]
path = vendor/src/elasticutils
url = git://github.com/mozilla/elasticutils.git
View
@@ -294,7 +294,6 @@
'twitter.middleware.SessionMiddleware',
'sumo.middleware.PlusToSpaceMiddleware',
'commonware.middleware.ScrubRequestOnException',
- 'django_arecibo.middleware.AreciboMiddlewareCelery',
'commonware.response.middleware.GraphiteRequestTimingMiddleware',
'waffle.middleware.WaffleMiddleware',
)
@@ -880,7 +879,6 @@ def read_only_mode(env):
CELERYD_LOG_LEVEL = logging.INFO
CELERYD_CONCURRENCY = 4
CELERY_EAGER_PROPAGATES_EXCEPTIONS = True # Explode loudly during tests.
-CELERY_IMPORTS = ['django_arecibo.tasks']
# Wiki rebuild settings
WIKI_REBUILD_TOKEN = 'sumo:wiki:full-rebuild'
@@ -963,20 +961,6 @@ def read_only_mode(env):
#'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'
LAST_SEARCH_COOKIE = 'last_search'
View
@@ -71,7 +71,6 @@ src/redis-py
src/django-ratelimit
src/django-recaptcha
src/python-recaptcha
-src/django-arecibo
src/oedipus
src/elasticutils
src/django-tastypie
Submodule django-arecibo deleted from fe59dd

0 comments on commit 0d31c22

Please sign in to comment.