How to enable/collect end user client IP address in Weblogic with loadbalancer/web server at the front

If you have a loadbalancer such as F5 Big IP or Cisco ACE, or Apache/IIS … etc in front of your Weblogic cluster (or standalone instance), follow the tips below to enable the end user’s ip address in the access.log file