Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62699659C for ; Wed, 1 Jun 2011 08:46:32 +0000 (UTC) Received: (qmail 26122 invoked by uid 500); 1 Jun 2011 08:46:31 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 26055 invoked by uid 500); 1 Jun 2011 08:46:31 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 26048 invoked by uid 99); 1 Jun 2011 08:46:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 08:46:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 08:46:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6D2A2ED6B0 for ; Wed, 1 Jun 2011 08:45:47 +0000 (UTC) Date: Wed, 1 Jun 2011 08:45:47 +0000 (UTC) From: "Upayavira (JIRA)" To: dev@lucene.apache.org Message-ID: <1152252047.58946.1306917947443.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1252022016.38605.1302121205666.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2459) LogLevelSelection Servlet outputs plain HTML MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042046#comment-13042046 ] Upayavira commented on SOLR-2459: --------------------------------- So, slf4j is a facade, and it looks like Solr uses JDK 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 request parameters. 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. Therefore, I suggest that: http://localhost:8983/solr/admin/logging <- would display current settings http://localhost:8983/solr/admin/logging?category=core&level=FINE <- would change a single value This latter would probably output the same as the previous, but perhaps with an 'updated' attribute set to true on that category. Given the ajax nature of the new UI, I suspect this would be enough for it to work with. Thoughts? > 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