lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcgyver83 <stefano.introini.lav...@gmail.com>
Subject Solr 3.3.0 multi core - slave replication log
Date Thu, 12 Apr 2012 08:13:45 GMT
Hi,
I have a multi core solr 3.3.0 with 2 slave and a master with replication
config.
I want to add info to logs.
MASTER
now:   INFO [org.apache.solr.core.SolrCore] (http-0.0.0.0-13290-5) [core1]
webapp=/app path=/replication params={command=indexversion&wt=javabin}
status=0 QTime=1
wanted:  INFO [org.apache.solr.core.SolrCore] (http-0.0.0.0-13290-5)
*[remote host asking]* [core1] webapp=/app path=/replication
params={command=indexversion&wt=javabin} status=0 QTime=1

I extended SolrDispatchFilter and override execute method adding with MDC
MDC.put("remoteHost", request.getRemoteHost());

SLAVE
now: INFO [org.apache.solr.handler.SnapPuller] (pool-13-thread-1) Slave in
sync with master.
wanted: INFO [org.apache.solr.handler.SnapPuller] (pool-13-thread-1)
*[core1]* Slave in sync with master.

How can I add "core" info to slave log when replication is not needed?

--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-3-3-0-multi-core-slave-replication-log-tp3904790p3904790.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message