Skip to main content

Diagnostic settings

In Pega Robot Studio, you can control the diagnostic log settings for your project's logging and logging levels during development and run time during debugging. The diagnostic logging in Robot Studio reads a category in the log and its adjacent log level in the settings file. You can use the Diagnostic settings in the Options window to enable logging off and on from within Robot Studio instead of editing log files directly and updating all aspects of the log settings without the need for opening multiple files. The diagnostic settings Options window is displayed after you select Tools > Options in the top menu of Robot Studio, as shown in the following figure:

Screenshot of Options selection from the Tools menu

To view the copy of the diagnostic settings in the PegaStudioConfig.json file and the Robot Runtime diagnostic settings in the PegaRuntimeConfig.xml, visit the following directory: 

C:\Users\<userid>\AppData\Roaming\PegaSystems

In the following image, click the + icons to learn more about each area of the Options window.

Updates to the log categories in the log file

With the  Options window of the Diagnostic settings, you can set the categorized log messages and the logging level by severity. You can decide whether to enable or disable logging for each log category in the diagnostic settings files and customize it by selecting individual logging levels. The diagnostic messages use a severity set in the Log Categories section, and Info is the default severity level for each setting in the log file.

The following table details the different severity levels for logging: 

Severity level Description

Off

This setting indicates that logging is not on for the specified log category.

Error

This setting records error messages, indicating that the application cannot perform as expected. The application is still running.

Warn

This setting records both error and warning messages.

Info

This setting records errors, warnings, and informational messages. It includes successful milestones of application execution, regardless of whether the application is working correctly, and provides an overview of what happened.

Debug

This setting records errors, warnings, informational messages, and verbose debugging output. As the most verbose logging setting, it is not a best practice for you to use in production environments.

Note: For more information about the available log categories and their descriptions, see Runtime diagnostics and Studio diagnostics.

Check your knowledge with the following interaction: 


This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice