Thanks Pascal, I have confirmed what you proposed as a workaround: I replaced the following:
with the following:
server.tomcat.accesslog.pattern=%{X-Forwarded-For}i %l %u %t "%r" %s %b
I.e., I replaced '%h' with '%{X-Forwarded-For}i'
There is a downside of the replacement that readers should be aware of: With the replacement above, if the site is accessed from a host that is not the load balancer (i.e., does not match the server.tomcat.internal-proxies setting), the access log will report a hyphen '-' in place of the IP address of the client. I.e., there will be no log information concerning the IP address of the client connecting to the site.
Of course, rather than replacing '%h', one can add an additional field to include both fields, such as the following:
server.tomcat.accesslog.pattern=%{X-Forwarded-For}i %h %l %u %t "%r" %s %b
Thank you for helping me to resolve this.
Cheers!
Carl