diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-02-13 13:02:37 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-02-13 13:02:37 +0100 |
| commit | bf09daa31d8dc517b0617178d28a5e9df384c869 (patch) | |
| tree | cbe8febfc456b6eca67cbf413106924ff44ceccc /searx | |
| parent | 3ff269c84c936a3ffc2e8e3168a4ac017047015b (diff) | |
[enh] log redirects
Diffstat (limited to 'searx')
| -rw-r--r-- | searx/search.py | 1 |
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 |