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 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 facility. That is the > best way to record client IPs. Solr does not have that capability. > > -- > Regards, > Shalin Shekhar Mangar. >