bundles/org.apache.jasper.glassfish/src/org/apache/jasper/servlet/JspCServletContext.java
public void log(String message, Throwable exception) {

        myLogWriter.println(message);
        exception.printStackTrace(myLogWriter);

    }
public void log(String message, Throwable exception) {

        myLogWriter.println(message);
        exception.printStackTrace(myLogWriter);

    }
Log the specified message and exception.

@param message The message to be logged
@param exception The exception to be logged