logging client ip address

2011-09-07 Thread dan sutton
Hi, We're using log4j with solr which is working fine and I'm wondering how I might be able to log the client ip address? Has anyone else been able to do this? Cheers, Dan

Re: logging client ip address

2011-09-07 Thread Shalin Shekhar Mangar
On Wed, Sep 7, 2011 at 2:56 PM, dan sutton danbsut...@gmail.com wrote: Hi, We're using log4j with solr which is working fine and I'm wondering how I might be able to log the client ip address? Has anyone else been able to do this? Your application container should have an access log

Re: logging client ip address

2011-09-07 Thread dan sutton
Does anyone know how I would be able to include the client ip address for tomcat 6 with log4j? Cheers, Dan On Wed, Sep 7, 2011 at 11:03 AM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Wed, Sep 7, 2011 at 2:56 PM, dan sutton danbsut...@gmail.com wrote: Hi, We're using log4j with

Re: logging client ip address

2011-09-07 Thread Markus Jelsma
You could configure your proxy or application to send any key/value pair not being using by Solr. Solr will ignore the parameter but still log it as part of params={}. We use this to send various pieces of information that's being analyzed later together with the query information. On