Configuring logger settings
Version:
In a development environment, you can enable logging by adding the appropriate logger settings in the prlog4j2.xml
file. In a production environment, most standard logging is set to warn and should remain at this level. For more information on log levels, see the Apache Log4j documentation.
-
Open the
prlog4j2.xml
file and make the necessary edits. This file is located together with theprconfig.xml
file. For more information, see Changing node settings by modifying the prconfig.xml file. -
You can also set log levels in Dev Studio by clicking
and selecting the logger name and level.
In the example provided below, logging is set to show warning messages for System Pulse. You can control the level of logging by setting it to another level.
<Logger name="SystemPulse" additivity="false" level="warn"> <AppenderRef ref="SECURITYEVENT"/> </Logger>
- Enabling decision management services
Decision management services comprise the technical foundation of decision management. Learn more about decision management services and how to enable them to fully benefit from next-best-action strategies and other decision management features in Pega Platform.
- Log files tool
In the Log files tool you can view or download the current log files on the server node you are accessing.