有个异常抛在struts2的Value Stack Contents中
要用s:debug才能看到异常信息
请问
1,通过什么方法能将异常信息打印在console中
2, 能否通过logj4j输出该异常信息到日志文件,如何配置?