Jump to content
Changes to the Jaspersoft community edition download ×

com.jaspersoft.commons.util.JSControlledJdbcQueryExecuter logs are not coming in jasper.log


pbaddi

Recommended Posts

Hi,

I am using Jasper 7.1 vesrion. I have enabled the log4j.logger.com.jaspersoft.commons.util.JSControlledJdbcQueryExecuter=DEBUG in log4j.properties and restarted the server.

Still I am unable to the get logs in jasper.log file. Actually I wanted to check the  time taken by sql queries for reports in jasper.

Could some one tell me how to find the solution for tha same.

Thanks in advance.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

If this is just an temporary setting, have you tried setting log from "Manage" -> "Log Settings"?

 

FYI, following is to log domain in commercial version.

og4j.logger.com.jaspersoft.commons.util.JSControlledJdbcQueryExecuter=DEBUG

 

JasperReports report logging is the following:

log4j.logger.net.sf.jasperreports.engine.query.JRJdbcQueryExecuter=debug

Link to comment
Share on other sites

@hozawa. Thank you so much for your response.

yes first I added in Manage" -> "Log Settings and made Log4j.logger.com.jaspersoft.commons.util.JSControlledJdbcQueryExecuter  as DEBUG. I was unable to see the changes. Then i added in log4j.properties that also didnt hep me. but I am able to seee the SQL query by adding log4j.logger.net.sf.jasperreports.engine.query.JRJdbcQueryExecuter=debug

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...