How to enable debug logging in Jasper report server?
search cancel

How to enable debug logging in Jasper report server?

book

Article ID: 384794

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager

Issue/Introduction

Client encountered error while accessing reports. 
Jasperserver.log showed generice error message, How to enable additional logging to capture additional details.
2024-12-16T08:59:17,736 ERROR SecureExceptionHandlerImpl,pool-17-thread-1:135 - There was an error on the server. Try again or contact site administrators. (Error UID: c4f516fd-ac04-4651-8c88-df6b10b4452b) com.jaspersoft.jasperserver.api.ErrorDescriptorException: There was an error on the server. Try again or contact site administrators. (Error UID: 226d18a0-87fb-49dc-a2ce-fbe6c3543343)

Environment

CA Service Management 17.4 JasperReport Server 9.0

Resolution

More granular information can be captured in the jasperserver.log file. This can be done by adding the following logger components to DEBUG in the Server Settings -> Log Settings page of the TIBCO JasperReportsĀ® Server (logged in as 'superuser') :

com.github.kklisura.cdt.launch = DEBUG
com.github.kklisura.cdt.services.impl = DEBUG
net.sf.jasperreports.chrome = DEBUG

Note: This is an on-the-fly change that does not require a restart of the application server.

Once these components are set, after reproducing the issue again, Please capture these below files: 
1.Jasperserver.log , located under the WEB-INF/logs directory.
2.js.config.properties located under the WEB-INF directory.