Cleaning noise out of Java stack traces

后端 未结 6 1514
感情败类
感情败类 2020-12-15 17:15

My Java stack traces have a lot of entries that I don\'t care about, showing method invocation going through proxies and Spring reflection methods and stuff like that. It ca

6条回答
  •  臣服心动
    2020-12-15 17:44

    eclipse has a preference Stack trace filter patterns (look at java > junit or search for stacktrace in the preferences). You can ignore packages (also with wildcards), classes or methods. Does work for direct Test calls (via Run as junit Test), not for commandline runs like ant or maven.

提交回复
热议问题