How to enable Debug logging in Advanced Reporting - Jaspersoft

Document ID : KB000033655
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary:

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

 

Instructions:

How to work with Jaspersoft debug logs:

 
1. To debug an issue:


a) Connect to Jaspersoft console UI as superuser
b) Go to Manage - Server Settings - Log Settings
c) 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):



Untitled.png

d) Restart JS Tomcat if needed (may or may not be needed depending on the exact issue you want to debug)
e) Observe the log:

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

2. To disable the debug messages:


a) Connect to Jaspersoft console UI as superuser
b) Go to Repository/System Properties/GlobalPropertiesList - Edit
c) Remove the loggers you no longer need
d) Click Submit

Additional Information:

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