Sai_INCESSANT Member since 2014 14 posts
Incessant Technologies Pvt Ltd
Posted: 1 year ago
Last activity: 11 months 4 weeks ago

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
Share this page LinkedIn