that it could have a Log4J (or whatever)
backend
LogLevelSelection Servlet outputs plain HTML
Key: SOLR-2459
URL: https://issues.apache.org/jira/browse/SOLR-2459
Project: Solr
?
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
in, that's the
one that'll be used.
LogLevelSelection Servlet outputs plain HTML
Key: SOLR-2459
URL: https://issues.apache.org/jira/browse/SOLR-2459
Project: Solr
Issue Type: Wish
logging behind that. I'm
assuming this is correct.
It seems that the best way to do this is to replace the LogLevelSelection
servlet with a Handler.
Coding a handler to display current settings is easy, and I've already done it.
However, to code the update side, requires a decision on suitable
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
in its handlers as far as I
can see, so either would work.
If by POST you mean that you would post some XML or JSON to it, and it would
use that, that could be done (don't know how hard it is to accept JSON, but
could look into it).
Upayavira
LogLevelSelection Servlet outputs plain HTML
enough :
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
logging.category.org.apache.solr.update.UpdateHandler=FINEST
Either would be acceptable.
LogLevelSelection Servlet outputs plain HTML
Key: SOLR-2459
URL: https://issues.apache.org/jira/browse/SOLR-2459
)?
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
allow Stefan more flexibility
in building a UI on top of it. (in fact, I have both coded, now looking at test
cases).
At present, this is intentionally a rewrite of the LogLevelSelection servlet,
which only works with JDK logging. I'm just plagiarising the logging code from
there.
If we want
is just to keep it in mind.
Sometimes its easier to think about the abstraction earlier, but we can
obviously tackle that in a follow on issue.
LogLevelSelection Servlet outputs plain HTML
Key: SOLR-2459
URL: https
[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
to iterate though all the
parameters and checking if they are relevant.
LogLevelSelection Servlet outputs plain HTML
Key: SOLR-2459
URL: https://issues.apache.org/jira/browse/SOLR-2459
Project: Solr
that it is an 'action'.
Stefan - I'm trying to make a decent public API that is consistent with the
rest of Solr. Sorry if that makes it harder for you!!
LogLevelSelection Servlet outputs plain HTML
Key: SOLR-2459
URL: https
Here's a first pass at the handler. I'm sure the output format is wrong, but
the (limited) tests pass (it changes a value, then puts it back).
I've included an XML and a JSON sample output.
Is this more or less what we're after?
LogLevelSelection Servlet outputs plain HTML
I'm looking to see if I can fix/replace the LogLevelSelection servlet
with a Handler, so that the new admin UI can get XML/JSON back, rather
than having to parse HTML.
I have two questions:
* The LogLevelSelection servlet interacts with the JDK logging system,
while it seems that some at least
[
https://issues.apache.org/jira/browse/SOLR-2459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Matheis (steffkes) updated SOLR-2459:
Description:
The current available Output of the LogLevelSelection Servlet
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
18 matches
Mail list logo