Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to Produce Clean Log Files for Troubleshooting


    gregd

    Troubleshooting application errors is easiest with clean log files. The examples below are for a standard JasperReports Server installation on Tomcat. Use it as a guideline to locate the temporary, cache, and log files for your application server.
     

    To Produce Clean Log Files
    StepComments and Examples
    1. Shutdown the application serverShutdown Tomcat (or JBoss, Glassfish, WebSphere, WebLogic etc.)
    2. Delete the application server's log files<tomcat_dir>/logs
    3. Delete the application server's temp files<tomcat_dir>/temp
    4. Delete the application server's cached JasperReports Server pages<tomcat_dir>/work/Catalina/localhost/jasperserver-pro
    5. Delete the JasperReports Server logs<tomcat_dir>webapps/jasperserver-pro/WEB-INF/logs
    6. Start the application serverStartup Tomcat
    (or JBoss, Glassfish, WebSphere, WebLogic, etc.)
    7. Login to JasperReports Server and reproduce the error 
    8. Logout of JasperReports Server 
    9. Shutdown the application serverShutdown Tomcat
    (or JBoss, Glassfish, WebSphere, WebLogic etc.)
    10. Review/forward the application server log files<tomcat_dir>/logs
    11. Review/forward the JasperReports Server log files<tomcat_dir>/webapps/jasperserver-pro/WEB-INF/logs

    You can also configure the logging level. For example, you can log WARNings in addition to ERRORs. For instructions on how to increase the logging level, refer to the Log4j article.


    User Feedback

    Recommended Comments

    There are no comments to display.



    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...