Skip to content

Commit

Permalink
SolrResponse should use the Blacklight.logger
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jan 4, 2017
1 parent 57c12b9 commit 19127d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/blacklight/solr/response.rb
Expand Up @@ -91,7 +91,7 @@ def force_to_utf8(value)
value.each { |v| force_to_utf8(v) }
when String
if value.encoding != Encoding::UTF_8
Rails.logger.warn "Found a non utf-8 value in Blacklight::Solr::Response. \"#{value}\" Encoding is #{value.encoding}"
Blacklight.logger.warn "Found a non utf-8 value in Blacklight::Solr::Response. \"#{value}\" Encoding is #{value.encoding}"
value.dup.force_encoding('UTF-8')
else
value
Expand Down

0 comments on commit 19127d9

Please sign in to comment.