lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Ernst (JIRA)" <>
Subject [jira] [Commented] (SOLR-5505) LoggingInfoStream not usabe in a multi-core setup
Date Tue, 03 Dec 2013 06:29:35 GMT


Ryan Ernst commented on SOLR-5505:

Thanks for the patch Shikhar.  A couple thoughts:
* This forces anyone trying to use the LoggingInfoStream to provide a loggerName in solrconfig.
 Could the LIS constructor instead continue using the local logger if null is passed in? 
 Or have an alternate zero argument constructor? This way the settings under
solr/example/resources are still relevant.
* You should also update the example solrconfig.xml to include info about the new setting.
* Could you make the simple case better, where there is only a single log file, by adding
a prefix option to LIS, and adding the core name?

> LoggingInfoStream not usabe in a multi-core setup
> -------------------------------------------------
>                 Key: SOLR-5505
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6
>            Reporter: Shikhar Bhushan
>         Attachments: SOLR-5505.patch
> {{LoggingInfoStream}} that was introduced in SOLR-4977 does not log any core context.
> Previously this was possible by encoding this into the infoStream's file path.
> This means in a multi-core setup it is very hard to distinguish between the infoStream
messages for different cores.
> {{LoggingInfoStream}} should be automatically configured to prepend the core name to
log messages.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message