View Full Version : Resin showing my load balancer IP in logs rather than actual User IP

09-29-2009, 02:02 PM
Resin showing my Load Balancer IP in logs. How can i configure LogFormat in linux to make it show actual user IP rather then Load Balancer IP.

After some minimal changes in LogFormat Apache is showing the user IP but resin not.

Any Idea.

I set a clinet IP Header as clientIp in my Loal Balancer and the LogFormat for my Apache is

LogFormat "%{clientIp}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%V\" \"%{User-Agent}i\"" combined

How can i use the same Header (clientIp) in my resin LogFormat.