From bf09daa31d8dc517b0617178d28a5e9df384c869 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Fri, 13 Feb 2015 13:02:37 +0100 Subject: [PATCH] [enh] log redirects --- searx/search.py | 1 + 1 file changed, 1 insertion(+) diff --git a/searx/search.py b/searx/search.py index 476b9219..83163d1e 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