Alex0027 Posted May 6, 2016 Share Posted May 6, 2016 Is it possible to view extended logs for jasperreports-library, for example, generated sql query?What about writing jasperreports-library logs to separate file?Thanks.p.s. I found this possibility only for jasper server. Link to comment Share on other sites More sharing options...
kkriplani Posted May 6, 2016 Share Posted May 6, 2016 Hi,Yes you can view the logs.For that you will have to follow the below listed steps;1) Jasperserver, click on Manage >> Server Settings .2) Upon reaching the log_settings, set the property to debug for the things you want to view in the logs (inclucing "SQL Query Executer")3) on the server where jasperserver is deploed, Go to <tomcat-directory>/webapps/jasperserver-pro/WEB_INF/logs and view the file named jasperserver.log , you will find the logs there. Link to comment Share on other sites More sharing options...
hozawa Posted May 7, 2016 Share Posted May 7, 2016 JasperReports is just a Java library and doesn't generate SQL statements - your program does. Just use any logging library and add statememts to output to log file yourself. That's what I do. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now