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

[jira] [Created] (SOLR-12622) Show a ref-guide example to configure SolrSlf4jReporter

Varun Thacker created SOLR-12622:
------------------------------------

             Summary: Show a ref-guide example to configure SolrSlf4jReporter
                 Key: SOLR-12622
                 URL: https://issues.apache.org/jira/browse/SOLR-12622
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Varun Thacker


To configure SolrSlf4jReporter we must configure a logger in the log4j2.xml file and then the solr.xml file must be able to reference it. 

It won't be super obvious to users on how to do this so we should show an example in the ref guide

With log4j.xml we could do it like [https://github.com/vthacker/solr-solutions/blob/master/docs/solr_metrics_logger.md] but not we moved over to log4j2.xml 

I have a working example for log4j2.xml and I'll post a patch in the next few hours 



--
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