How to set logging level for running tests
已回答
Hello,
For running tests Idea shows only some of the levels (INFO, WARNING, SEVERE). My question is how to set other ones?
Thanks
请先登录再写评论。
A little follow-up.
Naturally, I can set logging passing configuration to the jvm as usual, but for numeroues test cases it is tiresome.
Since a modest default for general setting is provided it would be nice to be able to control it.
Hello Zsolt,
IntelliJ IDEA does not include any functionality for controlling the logging
in tests run from IDEA.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello Dmitry,
So what is set is done by TestNG plugin?
Yes, you can. Read post below. It works for me on latest IntelliJ version.
https://stackoverflow.com/questions/47859462/intellij-how-to-set-log-levels-for-tests