开发者

JVM Logging Stacktraces

I have a java application embedded in a executable using JSMooth. JSMooth eats (doesnt 开发者_如何学JAVAdisplay) all the output from system.out and system.err. Is there a way I can turn logging on in the JRE to output all stacktraces when an exception is thrown?

Or someway that I can see the stacktrace for the exception being thrown?


you can use a logger like log4j to have it output all those messages to a log file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜