You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Shai Erera <se...@gmail.com> on 2015/05/18 14:13:06 UTC

Solr log messages include the information of whoever created the release?

Hi

While inspecting Solr logs (vanilla 5.1), I've noticed log messages appear
like this:

Caused by: org.apache.solr.client.solrj.SolrServerException: Server refused
connection at: http://localhost:43458/solr
    at
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:563)
~[solr-solrj-5.1.0.jar:5.1.0 *1672403 - timpotter - 2015-04-09 10:37:56*]

Looks like they include the commit ID, committer username and release date.

I believe that's part of the information that's placed in the jar, but I
admit that I don't remember this behavior from 5.0 ...

Is that expected?

Shai

Re: Solr log messages include the information of whoever created the release?

Posted by Shai Erera <se...@gmail.com>.
Oh interesting, I do use logback, didn't even think it may be related to it
:). I'll check my logging settings then.

Shai

On Mon, May 18, 2015 at 3:21 PM, Shalin Shekhar Mangar <
shalinmangar@gmail.com> wrote:

> Solr doesn't do that by default. You're using a log layout which logs the
> jar file along with these details. For example, logback does this if the
> xThrowable conversion word is enabled.
>
> See http://logback.qos.ch/manual/layouts.html#xThrowable
>
> On Mon, May 18, 2015 at 5:43 PM, Shai Erera <se...@gmail.com> wrote:
>
>> Hi
>>
>> While inspecting Solr logs (vanilla 5.1), I've noticed log messages
>> appear like this:
>>
>> Caused by: org.apache.solr.client.solrj.SolrServerException: Server
>> refused connection at: http://localhost:43458/solr
>>     at
>> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:563)
>> ~[solr-solrj-5.1.0.jar:5.1.0 *1672403 - timpotter - 2015-04-09 10:37:56*]
>>
>> Looks like they include the commit ID, committer username and release
>> date.
>>
>> I believe that's part of the information that's placed in the jar, but I
>> admit that I don't remember this behavior from 5.0 ...
>>
>> Is that expected?
>>
>> Shai
>>
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Re: Solr log messages include the information of whoever created the release?

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
Solr doesn't do that by default. You're using a log layout which logs the
jar file along with these details. For example, logback does this if the
xThrowable conversion word is enabled.

See http://logback.qos.ch/manual/layouts.html#xThrowable

On Mon, May 18, 2015 at 5:43 PM, Shai Erera <se...@gmail.com> wrote:

> Hi
>
> While inspecting Solr logs (vanilla 5.1), I've noticed log messages appear
> like this:
>
> Caused by: org.apache.solr.client.solrj.SolrServerException: Server
> refused connection at: http://localhost:43458/solr
>     at
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:563)
> ~[solr-solrj-5.1.0.jar:5.1.0 *1672403 - timpotter - 2015-04-09 10:37:56*]
>
> Looks like they include the commit ID, committer username and release date.
>
> I believe that's part of the information that's placed in the jar, but I
> admit that I don't remember this behavior from 5.0 ...
>
> Is that expected?
>
> Shai
>



-- 
Regards,
Shalin Shekhar Mangar.