lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Matheis (steffkes) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
Date Wed, 16 May 2012 13:45:03 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276740#comment-13276740
] 

Stefan Matheis (steffkes) commented on SOLR-3367:
-------------------------------------------------

Hm, i think we should open another Issue for this, or do you think otherwise?

Because, if you check the difference between:

{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(LoggingHandler.java:75)
		at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
		..."
}{code}
(from {{/solr/admin/logging?wt=json&since=0&test=true}})

and

{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(ShowFileRequestHandler.java:229)
		at org.apache.solr.handler.admin.ShowFileRequestHandler.handleRequestBody(ShowFileRequestHandler.java:122)
		..."
}{code}
(from {{/solr/collection1/admin/file?file=schema.not&contentType=text/xml;charset=utf-8}})

it is pretty clear why your screen looks like what it looks *g it's just one big fat text-message,
even the latest revision will not be able to display that in a good fashion.

the difference seems to be: throwing a new exception (directly) vs. calling a log.xy(), passing
a exception as parameter, but can we (and should we?) change this behaviour?
                
> Show Logging Events in Admin UI
> -------------------------------
>
>                 Key: SOLR-3367
>                 URL: https://issues.apache.org/jira/browse/SOLR-3367
>             Project: Solr
>          Issue Type: New Feature
>          Components: web gui
>            Reporter: Ryan McKinley
>            Assignee: Stefan Matheis (steffkes)
>             Fix For: 4.0
>
>         Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch,
SOLR-3367.png
>
>
> We can show logging events in the Admin UI.

--
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


Mime
View raw message