Log client ip only in Apache Access log

After enabling and setting X-Forwarded-For parameter, we have noticed that two IPs, one client ip and other load balancer ip is logged in Apache Access log. How can we get only client ip , omitting load balancer ip in access log? Thanks in advance…

I think you will have to address that in the Apache configuration.