I am not seeing any stack trace printed from e.printStackTrace(); in my java app-engine console running on google box(not local one). I have tried log level ALL, DEBUG and INFO in logging.properties file. Still no stack trace. I only see my logging print from _logger statement. It’s not helping much to trace the bug. How can I get stack trace printed?
{ ....
} catch (Exception e) {
e.printStackTrace();
_logger.severe("Exception : " + e);
}
I had the same issue.
Try
_logger.log(Level.SEVERE, e.getMessage(),e);
instead.