You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2007/05/17 05:21:16 UTC

[jira] Updated: (SOLR-241) explicitly loggin an error message for missing system property for string substitution in solrconfig.xml

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

Koji Sekiguchi updated SOLR-241:
--------------------------------

    Attachment: Config.patch

> explicitly loggin an error message for missing system property for string substitution in solrconfig.xml
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-241
>                 URL: https://issues.apache.org/jira/browse/SOLR-241
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>         Attachments: Config.patch
>
>
> Solr has a pretty good string substitution function in solrconfig.xml (${system.property[:default value]}). If there is no system property defined, DOMUtil throws a SolrException(500), but it not logged. I'm using Tomcat 5.5.
> I had a hard time to find my problem when I forgot to set a system property that was refered in solrconfig.xml.
> The patch is to file the problem to the logger explicitly.
> regards,

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.