summaryrefslogtreecommitdiff
path: root/searx/search.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-02-13 13:02:37 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-02-13 13:02:37 +0100
commitbf09daa31d8dc517b0617178d28a5e9df384c869 (patch)
treecbe8febfc456b6eca67cbf413106924ff44ceccc /searx/search.py
parent3ff269c84c936a3ffc2e8e3168a4ac017047015b (diff)
downloadsearxng-bf09daa31d8dc517b0617178d28a5e9df384c869.tar.gz
searxng-bf09daa31d8dc517b0617178d28a5e9df384c869.zip
[enh] log redirects
Diffstat (limited to 'searx/search.py')
-rw-r--r--searx/search.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/search.py b/searx/search.py
index 476b92197..83163d1e5 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -90,6 +90,7 @@ def make_callback(engine_name, results_queue, callback, params):
# check if redirect comparing to the True value,
# because resp can be a Mock object, and any attribut name returns something.
if response.is_redirect is True:
+ logger.debug('{0} redirect on: {1}'.format(engine_name, response))
return
response.search_params = params