How to set logging level for running tests

Answered

Hello,

For running tests Idea shows only some of the levels (INFO, WARNING, SEVERE). My question is how to set other ones?


Thanks

4 comments
Comment actions Permalink

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.

0
Comment actions Permalink

Hello Zsolt,

IntelliJ IDEA does not include any functionality for controlling the logging
in tests run from IDEA.

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.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hello Dmitry,

So what is set is done by TestNG plugin?

0
Comment actions Permalink

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

0

Please sign in to leave a comment.