[ 
https://issues.apache.org/jira/browse/SOLR-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shawn Heisey updated SOLR-4760:
-------------------------------

    Attachment: SOLR-4760.patch

Patch to include the core name when loading the schema, whether the name is 
found or not.  Verified that it works.

Is this approach the right way to go, or should I be getting the core name in a 
different way?  I suppose a StringBuilder is slightly overkill for the log 
message.
                
> Improve logging messages during startup to better identify core
> ---------------------------------------------------------------
>
>                 Key: SOLR-4760
>                 URL: https://issues.apache.org/jira/browse/SOLR-4760
>             Project: Solr
>          Issue Type: Wish
>          Components: Schema and Analysis
>    Affects Versions: 4.3
>            Reporter: Alexandre Rafalovitch
>            Priority: Minor
>             Fix For: 4.4
>
>         Attachments: SOLR-4760.patch
>
>
> Some log messages could be more informative. For example:
> {code}
> 680 [coreLoadExecutor-3-thread-3] WARN org.apache.solr.schema.IndexSchema  – 
> schema has no name!
> {code}
> Would be _very nice_ to know which core this is complaining about.
> Later, once the core is loaded, the core name shows up in the logs,
> but it would be nice to have it earlier without having to
> triangulating it through 'Loading core' messages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to