lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Matheis (steffkes) (JIRA)" <>
Subject [jira] [Commented] (SOLR-2459) LogLevelSelection Servlet outputs plain HTML
Date Wed, 01 Jun 2011 09:09:47 GMT


Stefan Matheis (steffkes) commented on SOLR-2459:


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


> LogLevelSelection Servlet outputs plain HTML
> --------------------------------------------
>                 Key: SOLR-2459
>                 URL:
>             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|]

This message is automatically generated by JIRA.
For more information on JIRA, see:

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

View raw message