You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2018/02/08 03:10:00 UTC

[jira] [Created] (SOLR-11958) Implement an API to return Solr and GC logs

Shalin Shekhar Mangar created SOLR-11958:
--------------------------------------------

             Summary: Implement an API to return Solr and GC logs
                 Key: SOLR-11958
                 URL: https://issues.apache.org/jira/browse/SOLR-11958
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: logging
            Reporter: Shalin Shekhar Mangar
             Fix For: master (8.0), 7.3


Solr shows the most recent log messages in the UI today. But it is kept in memory and the number of events returned is limited. It is very useful to retrieve the real log from servers during troubleshooting sessions. In most places, without involving security issues, human intervention is required to login, locate and download the log files which slows down the troubleshooting process.

I propose to introduce a logging API (perhaps we just enhance the existing /admin/logging handler) which can stream logs before/after/between given timestamp(s), filter by level etc to help debug issues faster. Similar to Solr logs, the same API can also output GC logs as well. We can choose to keep this API disabled by default for security or keep it enabled but call it out in the Upgrading section of CHANGES.txt



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org