Jaspersoft Debug Logging for Advanced Reporting

book

Article ID: 33655

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

If additional debugging is needed to troubleshoot a issue, this article provides instructions for enabling the additional logging information to be generated.

Environment

Release: All Supported Releases
Component: Clarity Jaspsersoft

Resolution

SaaS customers: The logging needs to be enabled by the Broadcom Team. If you need any assistance in enabling logging, please reach out to Broadcom Support

On Premise customers: To Enable Debugging:

  1. Connect to Jaspersoft console UI as superuser
  2. Go to Manage - Server Settings - Log Settings
    • URL will show as http<Clarityserver:port>/reportservice/log_settings.html
  3. At the bottom there will be an empty text box, enter the debug value, and select log mode to debug.
    • Example: First row is already added with 'com.jaspersoft.jasperserver.api.engine.jasperreports.util', second row is empty and can be used to add more debug entries

    • If debugging is needed for queries, set the log setting SQL query executer to Debug
  1. Restart JS Tomcat if needed (may or may not be needed depending on the exact issue you want to debug)
  2. Observe the log:

 $JSTomcat/webapps/reportservice/WEB-INF/logs/jasperserver.log

To disable the debug messages:

  1. Connect to Jaspersoft console UI as superuser
  2. Go to Repository/System Properties/GlobalPropertiesList - Edit
  3. Remove the loggers you no longer need
  4. Click Submit

Additional Information

For more information, please check also the communities post: Jaspersoft Tips and tricks : Part 2: How to troubleshoot Jaspersoft issues

 

Attachments

1558699663669000033655_sktwi1f5rjvs16or3.png get_app