Close popover
Sai Phaneendra (SaiYakkali)
Coforge Tech
Technical Architech
Coforge Tech
SaiYakkali Member since 2014 14 posts
Coforge Tech
Posted: October 2, 2018
Last activity: August 14, 2019

Logfiles shows load balancer IP address instead of browse IP

Hi Team, In log files, we are getting the load balancer IP address for a multi-node environment. We want to the client browser(end user machine) IP address in the log files.

I have analyzed the prlogging.xml file, In the below appender, I want to add the end user machine IP rather than load balancer IP.

Does anyone know how to add enduser IP address in logfile instead of load balancer IP.

<appender name="PEGA" class="com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega">
<param name="FileNamePattern" value="'${pega.log.location}/PegaRULES.log.'yyyy-MM-dd"/>
<param name="MaxFileSize" value="50MB" />
<layout class="com.pega.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d [%20.20t] [%10.10X{pegathread}] [%20.20X{tenantid}] [%20.20X{app}] (%30.30c{3}) %-5p %X{stack} %X{userid} - %m%n"/>
***Edited by Moderator Marissa to update platform capability tags****
Pega Platform System Administration
Moderation Team has archived post