I can't get any of the problems with my servlets to save to servlet.log. I'm using Tomcat as my servlet engine.
I tried this one and it didn't work, any ideas as to why?
}
catch (Exception xcp) {
xcp.printStackTrace();
log(xcp.toString());
}
}
I have also tried this one with different variations without sucess. When I compile it always asks for
"" etc..:
Log(Exception, String)
and
Log(String message, Throwable throwable)
I really need a good working version that will log my errors. Thanks.
I tried this one and it didn't work, any ideas as to why?
}
catch (Exception xcp) {
xcp.printStackTrace();
log(xcp.toString());
}
}
I have also tried this one with different variations without sucess. When I compile it always asks for
"" etc..:
Log(Exception, String)
and
Log(String message, Throwable throwable)
I really need a good working version that will log my errors. Thanks.