Posted by mkalkbrenner on March 4, 2010 at 7:47pm
5 followers
| Project: | Apache Solr Search Integration |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | mkalkbrenner |
| Status: | closed (fixed) |
Issue Summary
Currently apachesolr logs every single search to watchdog. I attached a patch that adds a configuration option to turn this feature on or off.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| watchdog_search_logging_configurable.patch | 1.55 KB | Ignored: Check issue status. | None | None |
Comments
#1
see similar patch for core search: #733054: Watchdog logging of all searches is performance hit; need ability to turn it off
#2
Looks 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.
#3
Tested and works. Rerolling with default = On
#4
http://drupal.org/cvs?commit=359696
#5
Automatically closed -- issue fixed for 2 weeks with no activity.