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-2459) LogLevelSelection Servlet outputs plain HTML
Date Wed, 01 Jun 2011 09:09:47 GMT

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

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

Upayavira,

thanks for having a look into this!

bq. Thoughts?
Yes, just a simple one -- GET for requesting Data and POST for changing them, please :) 

bq. The biggest question is whether to allow multiple settings to be changed in one request.
The current LogLevelSelection servlet allows you to change them all in one single hit. However,
allowing this in a new Handler would, in my opinion, give rise to an ugly API.
Don't know much about the handling of arrays in java .. in php it's pretty easy? For the Interface
it would be okay to generate such an structure for an HTTP-Request: {code}logging[org.apache.solr.core.JmxMonitoredMap]=INFO&logging[org.apache.solr.update.UpdateHandler]=FINEST{code}
Given that Information you could loop over it, and set every Logger at the specified Level.
Of course we need to define how we could reset/delete a Loggers-Setting ..

Stefan

> LogLevelSelection Servlet outputs plain HTML
> --------------------------------------------
>
>                 Key: SOLR-2459
>                 URL: https://issues.apache.org/jira/browse/SOLR-2459
>             Project: Solr
>          Issue Type: Wish
>          Components: web gui
>            Reporter: Stefan Matheis (steffkes)
>            Priority: Trivial
>
> The current available Output of the LogLevelSelection Servlet is plain HTML, which made
it unpossible, to integrate the Logging-Information in the new Admin-UI. Format-Agnostic Output
(like every [?] other Servlet offers) would be really nice!
> Just as an Idea for a future structure, the new admin-ui is [actually based on that json-structure|https://github.com/steffkes/solr-admin/blob/master/logging.json]
:)

--
This message is automatically generated by JIRA.
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