You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Linbin Chen (JIRA)" <ji...@apache.org> on 2015/06/18 11:26:00 UTC
[jira] [Issue Comment Deleted] (SOLR-7698) solr alternative logback
contrib
[ https://issues.apache.org/jira/browse/SOLR-7698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Linbin Chen updated SOLR-7698:
------------------------------
Comment: was deleted
(was: SOLR logback)
> solr alternative logback contrib
> ---------------------------------
>
> Key: SOLR-7698
> URL: https://issues.apache.org/jira/browse/SOLR-7698
> Project: Solr
> Issue Type: New Feature
> Affects Versions: 5.2.1
> Reporter: Linbin Chen
> Labels: logback
> Fix For: 5.3
>
> Attachments: SOLR-7698.patch
>
>
> alternative use logback support
> solr.xml like
> {code:xml}
> <solr>
> <!-- ... -->
> <logging>
> <str name="class">org.apache.solr.logging.logback.LogbackWatcher</str>
> <bool name="enabled">true</bool>
> <watcher>
> <int name="size">50</int>
> <str name="threshold">WARN</str>
> </watcher>
> </logging>
> <!-- ... -->
> </solr>
> {code}
> solr-X.X.X/server/lib/ext remove:
> * log4j-1.2.X.jar
> * slf4j-log4j12-1.7.X.jar
> add :
> * log4j-over-slf4j-1.7.7.jar
> * logback-classic-1.1.3.jar
> * logback-core-1.1.3.jar
> example : https://github.com/chenlb/vootoo/wiki/Logback-for-solr-logging
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org