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

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

{quote}Perhaps it could be:
logging.category=org.apache.org.solr.core.JmxMonitoredMap
logging.level=INFO{quote}
What would really mean, that we can just update one Logger (per Step) -- 
changing five of them will result in: click, change; save, click, change, save; 
click, change, save .. and so on? We could "autosave" every change instantly, 
but that's something we don't have anywhere else yet - so i guess users were 
wondering about that behaviour?

{quote}Or, as an alternative:
logging.category.org.apache.solr.core.JmxMonitoredMap=INFO
logging.category.org.apache.solr.update.UpdateHandler=FINEST{quote}
{quote}I'd implement both approaches - the latter might allow Stefan more 
flexibility in building a UI on top of it. {quote}
It's of course possible, but it would be easier to have something like that:
{code}logging[category.org.apache.solr.core.JmxMonitoredMap]=INFO
logging[category.org.apache.solr.update.UpdateHandler]=FINEST{code}
There it's possible to setup an initial Hashmap and just put all the Loggers 
into it. Or is that really difficult to handle on the Server-Side? 

> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to