Configuring logger settings

In a development environment, you can enable Cassandra logging by adding the appropriate logger settings in the prlogging.xml file. In a production environment, standard logging is set to warn and should remain at this level. For more information on log levels, see the Apache Commons Logging documentation.

  • Open the prlogging.xml file and make the necessary edits. This file is located together with the prconfig.xml file. For more information, see Modifying the prconfig.xml file.

In the example provided below, logging is set to show information messages for Cassandra and Decision Strategy Manager activity. You can control the level of logging by setting it to another level.

<logger name="org.apache.cassandra" additivity="false">
<level value="info"/>
<appender-ref ref="CONSOLE"/>
</logger>
<logger name="com.pega.dsm" additivity="false">
<level value="info"/>
<appender-ref ref="CONSOLE"/>
</logger>