Issue 11534

Improve WS logging

11534
Reporter: trobertson
Assignee: mdoering
Type: Improvement
Summary: Improve WS logging
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-07-03 12:02:33.828
Updated: 2013-12-09 14:01:22.722
Resolved: 2012-07-03 12:07:18.152
        
Description: Currently the SOLR search query is logged as


INFO  [2012-03-07 11:39:45,197+0200] [http-8080-9] org.gbif.common.search.builder.FullTextQueryBuilder: Solr query generated for fulltext search: (canonical_name:lion^100.0 OR class:lion^1.0 OR description_ft:lion^0.3 OR family:lion^2.0 OR genus:lion^2.0 OR kingdom:lion^1.0 OR order:lion^1.0 OR phylum:lion^1.0 OR scientific_name_ft:lion^10.0 OR scientific_name_ft:lion*^0.2 OR species:lion^5.0 OR subgenus:lion^3.0 OR vernacular_name_lang:lion^6.0 OR vernacular_name_lang:lion*^0.2)

This should be DEBUG and the full URL with facets etc should be logged as INFO in production (if this can be done in common for registry as well then ideal)]]>
    


Author: mdoering@gbif.org
Comment: http://code.google.com/p/gbif-common-resources/source/detail?r=914
Created: 2012-07-03 12:07:18.192
Updated: 2012-07-03 12:07:18.192