You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2012/04/25 20:02:20 UTC
[jira] [Created] (SOLR-3412) ShowFileRequestHandler shouldn't log
SEVERE error and stack trace if file not found
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (SOLR-3412) ShowFileRequestHandler shouldn't log
SEVERE error and stack trace if file not found
Posted by "Stefan Matheis (steffkes) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Matheis (steffkes) resolved SOLR-3412.
---------------------------------------------
Resolution: Fixed
That should be solved with [r1386773|http://svn.apache.org/viewvc?view=revision&revision=1386773] on SOLR-3759
> 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-ALPHA
> Reporter: David Smiley
> Priority: Trivial
> Original Estimate: 20m
> Remaining Estimate: 20m
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org