We are currently using hardware load balancing and are going to be switching to software (Windows Server 2008). In the test run, the servers that are using software load balancing are reporting the load balancing IP and not the server IP to Log4Net.
This is how we are setting the server IP in Log4Net:
HttpContext.Current.Request.ServerVariables["LOCAL_ADDR"]
What do I need to change this to in order to log the server IP and NOT the load balancer IP?
Thanks!!!