Currently apachesolr logs every single search to watchdog. I attached a patch that adds a configuration option to turn this feature on or off.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | apachesolr_log_search.patch | 1.97 KB | meba |
| watchdog_search_logging_configurable.patch | 1.55 KB | mkalkbrenner |
Comments
Comment #1
mkalkbrennersee similar patch for core search: #733054: Watchdog logging of all searches is performance hit; need ability to turn it off
Comment #2
pwolanin commentedLooks reasonable - but I think the default should be on to avoid changing the behavior of existing installs. Otherwise, maybe add an update function to enable it for existing installs.
Comment #3
meba commentedTested and works. Rerolling with default = On
Comment #4
jpmckinney commentedhttp://drupal.org/cvs?commit=359696