lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Matheis (steffkes) (JIRA)" <>
Subject [jira] [Created] (SOLR-3560) Handle Logging Events in UI
Date Wed, 20 Jun 2012 19:00:42 GMT
Stefan Matheis (steffkes) created SOLR-3560:

             Summary: Handle Logging Events in UI
                 Key: SOLR-3560
             Project: Solr
          Issue Type: Improvement
          Components: web gui
            Reporter: Stefan Matheis (steffkes)
            Assignee: Stefan Matheis (steffkes)
            Priority: Minor
             Fix For: 4.0

As follow up on SOLR-3367, we should try to handle all "type" of Exceptions - the good ones
as well as the bad ones:

{code}throw new RuntimeException( "error "+cause );{code}
	time: "2012-05-16T13:26:10.722Z",
	level: "SEVERE",
	logger: "org.apache.solr.core.SolrCore",
	message: "org.apache.solr.common.SolrException: Can not find: schema.not [/opt/solr-trunk/solr/example/solr/./conf/schema.not]
		at org.apache.solr.handler.admin.ShowFileRequestHandler.showFromFileSystem(
		at org.apache.solr.handler.admin.ShowFileRequestHandler.handleRequestBody(


{code}throw new RuntimeException( "error message", cause );{code}
	time: "2012-05-16T13:25:03.679Z",
	level: "SEVERE",
	logger: "org.apache.solr.handler.admin.LoggingHandler",
	message: "error (with exception)",
	trace: "java.lang.RuntimeException: test
		at org.apache.solr.handler.admin.LoggingHandler.handleRequestBody(
		at org.apache.solr.handler.RequestHandlerBase.handleRequest(

First Idea would be, to check for an existing {{trace}}-Index .. if the record has none, we
expect the whole Output to be stored in {{message}} - so we split on the first Line-break,
take the former part as new {{message}} and use the latter as {{trace}}.

If that will not work (at least for specific cases) and you already know about .. please speak
up :)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message