View deleted console output

跟風遠走 提交于 2019-12-30 09:40:11

问题


I am running multiple Junit tests, running a test results in the console being cleared and populated with the log of the current test. Where will the log file containing the previous test logs be stored. Is there any way in eclipse, by which i can see such deleted logs.


回答1:


Try the following:

  • Open your Run configuration
  • Select the tab Common
  • In the Standard Input and Output group activate File and set a file
  • Select the Append Checkbox
  • Run your configuration

That way everything which is printed to the console will also be printed into that file.



来源:https://stackoverflow.com/questions/10929235/view-deleted-console-output

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!