%h in apache log is catching ip from load balancer, Is that correct?

view story

http://serverfault.com – We are using aws load-balancer. There is one machine which is behind the load balancer. So for this reason we have configured apache2.conf such that %h are replaced by %{X-Forwarded-For}i in our file. But something wired is happening. We can't see any ip of the client in the logs section. But when we change back from %{X-Forwarded-For}i to %h all client ip's are visible in the log section. But my doubt is can %h in log command can handle the load balancer case? Or I'm missing something here? Note that also we can see in our aws console the machine is behind the load balancer. Which conf (HowTos)