David Smiley created SOLR-3412:
----------------------------------

             Summary: ShowFileRequestHandler shouldn't log SEVERE error and 
stack trace if file not found
                 Key: SOLR-3412
                 URL: https://issues.apache.org/jira/browse/SOLR-3412
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 4.0
            Reporter: David Smiley
            Priority: Trivial


When I bring up the new Admin UI for the example-DIH solr home, I noticed these 
obnoxious supposedly SEVERE errors in my Solr log:

SEVERE: org.apache.solr.common.SolrException: Can not find: 
admin-extra.menu-top.html 
[/SmileyDev/Search/lucene-solr_trunk/solr/example/example-DIH/solr/db/conf/admin-extra.menu-top.html]
        at 
org.apache.solr.handler.admin.ShowFileRequestHandler.showFromFileSystem(ShowFileRequestHandler.java:229)
...

I think this is a warning at most, and it certainly doesn't need the stack 
trace.  

Perhaps it would be useful to have a parameter to indicate the client will deal 
with it not being found and thus log at info?  I dunno -- perhaps that's 
over-engineering it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to