Question

5
Replies
516
Views
GladsonS Member since 2016 1 post
CBA
Posted: 3 years ago
Last activity: 3 years 10 months ago
Closed

ConsoleAppender in Pega prlogging.xml doesn't seem to work

I have updated prlogging.xml to display HAZELCAST logs in tomcat console but I dont see any logs . Below is the code 

<category name="com.hazelcast">
                <priority value="info"/>

                <appender-ref ref="CONSOLE"/>
</category>

<appender name="CONSOLE" class="com.pega.apache.log4j.ConsoleAppender">
                <layout class="com.pega.apache.log4j.PatternLayout">
                        <param name="ConversionPattern" value="HAZEL:: %d [%20.20t] [%10.10X{pegathread}] [%20.20X{tenantid}] [%20.20X{app}] (%30.30c{3}) %-5p %X{stack} %X{userid} - %m%n"/>
                </layout>
</appender>

The reason why I need pega logged to console is because I am running Pega in a docker container  and I am shipping all the logs from docker console to rsyslog server via logspout. I can see only tomcat startup log now

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn