[
https://issues.apache.org/jira/browse/SOLR-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Timm updated SOLR-554:
---------------------------
Attachment: LogLevelSelection.java
Here is an implementation written in a servlet. To configure, add
{code:xml}
<servlet>
<servlet-name>Logging</servlet-name>
<servlet-class>org.apache.solr.servlet.LogLevelSelection</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Logging</servlet-name>
<url-pattern>/admin/logging</url-pattern>
</servlet-mapping>
{code}
to the web.xml configuration.
It doesn't have the same look and feel of the rest of the admin UI, but I did
throw in a link to the Solr logo. :-)
This is adapted from a former co-workers implementation for an AOL internal
framework using Log4j.
> Hierarchical JDK log level selector for SOLR Admin
> --------------------------------------------------
>
> Key: SOLR-554
> URL: https://issues.apache.org/jira/browse/SOLR-554
> Project: Solr
> Issue Type: Improvement
> Reporter: Sean Timm
> Priority: Minor
> Attachments: LogLevelSelection.java
>
>
> An admin web page to allow displaying and setting the log level of
> hierarchical loggers from the UI at runtime. The existing logging.jsp only
> sets and displays the root log level.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.