Question
Coforge
IN
Last activity: 20 Nov 2018 13:41 EST
SOAP Pega Appender not working
I am trying to make an entry for SOAPAppenderPega in the prlog4j2.xml, expecting this to write the log on the configured/specified server over SOAP WS Calls. This is not working. And when I try to check from java to see the available appender, my appender is not getting listed. Where am I going wrong, can someone please help. Is this soap appender pega class proper, I have tried to keep "com.pega.pegarules.priv.util.SOAPAppenderPega" in the configuration, but no luck. I am trying to update the "tomcat/webapps/prweb/WEB-INF/classes/prlog4j2.xml". There are no connectivity issues.
I am trying to make an entry for SOAPAppenderPega in the prlog4j2.xml, expecting this to write the log on the configured/specified server over SOAP WS Calls. This is not working. And when I try to check from java to see the available appender, my appender is not getting listed. Where am I going wrong, can someone please help. Is this soap appender pega class proper, I have tried to keep "com.pega.pegarules.priv.util.SOAPAppenderPega" in the configuration, but no luck. I am trying to update the "tomcat/webapps/prweb/WEB-INF/classes/prlog4j2.xml". There are no connectivity issues.
<appender name="SOAP-EVENTS" class="com.pega.pegarules.priv.util.logging.SOAPAppenderPega">
<param name="EndPointURL" value="http://HOSTSERVER:PORT/prweb/PRSOAPServlet" />
<param name="BufferSize" value="512"/>
<param name="Blocking" value="false"/>
<param name="Mode" value="exception" />
<param name="AllowLiveChanges" value="true" />
<param name="OutputEnabled" value="true"/>
<layout class="com.pega.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{GMT}*%Y{instance_id}*%t*%c*%X{RequestorId}*%X{pegathread}*%X{app}*%X{userid}*%X{stack}*%m%n"/>
</layout>
</appender>
</Appenders>
<Loggers>
<asyncRoot>
<AppenderRef ref="CONSOLE"/>
<AppenderRef ref="PEGA"/>
<AppenderRef ref="ALERT" level="ALERT"/>
<AppenderRef ref="ALERTSECURITY" level="ALERT"/>
<AppenderRef ref="SOAP-EVENTS" level="ALERT"/>
</asyncRoot>
</Loggers>
Thanks in advance,
Burhan.