You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Ing. Jorge Luis Betancourt Gonzalez" <jl...@uci.cu> on 2013/11/22 14:28:36 UTC

Solr logs encoding to UTF8

Hi everybody:

Is there any way of forcing an UTF-8 conversion on the queries that are logged into the log? I've deployed solr in tomcat7. The file appears to be an UTF-8 file but I'm seeing this in the logs:

INFO: [] webapp=/solr path=/select params={fl=*,score&start=0&q=disñemos+el+mundo&hl.simple.pre=<b>&hl.simple.post=</b>&hl.fl=title,content,url,description,keywords&wt=json&hl=true&rows=20} hits=48865 status=0 QTime=155.
________________________________________________________________________________________________
III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu

Re: Solr logs encoding to UTF8

Posted by Erick Erickson <er...@gmail.com>.
what are you using to view the file? Looks like whatever it is isn't
configured to do the proper thing with UTF-8.

Best,
Erick


On Fri, Nov 22, 2013 at 8:28 AM, Ing. Jorge Luis Betancourt Gonzalez <
jlbetancourt@uci.cu> wrote:

> Hi everybody:
>
> Is there any way of forcing an UTF-8 conversion on the queries that are
> logged into the log? I've deployed solr in tomcat7. The file appears to be
> an UTF-8 file but I'm seeing this in the logs:
>
> INFO: [] webapp=/solr path=/select
> params={fl=*,score&start=0&q=disñemos+el+mundo&hl.simple.pre=<b>&hl.simple.post=</b>&hl.fl=title,content,url,description,keywords&wt=json&hl=true&rows=20}
> hits=48865 status=0 QTime=155.
>
> ________________________________________________________________________________________________
> III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero
> del 2014. Ver www.uci.cu
>