I'm logging x-forwarded-for with the %{X-FORWARDED-FOR}i
formatter. However, there are times when the X-Forwarded-For header is getting CSV'd (based on a client's setup):
X-Forwarded-For: 66.66.66.66, 123.123.123.123
Which shows up in the log file as the above CSV'd IP's.
Is there any way to configure Apache so that I'm only logging the left-most IP address? It's the only one I ever care about.