Print Exception to Tomcat log file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oaklander
    New Member
    • Aug 2007
    • 20

    #1

    Print Exception to Tomcat log file

    I am trying to write a message to the Tomcat Log file (\Tomcat 5.5\logs) and it is not printing anything when I have a Rollback issue:

    Code:
    ...
    catch(SQLException e)
    {
          System.out.println("Database Rollback: " + e);
    }
Working...