How to filter a log level in the Run/Debug console ?

Answered

Hi.

I use Intellij Idea 15.0.6 Ultimate. When I run tests, I have a lot of Spring/Hibernate/Thymeleaf logs with Debug and Info level.

I want to only display Warning and Error logs.

When I start a server, I have a log tab (https://www.jetbrains.com/help/idea/2016.1/logs-tab.html) but it doesn't appear when I run a test.

I did not find anything in the Settings nor in the documentation.

How can I do this ?

4 comments
Comment actions Permalink

Any idea how log level can be changed? After upgrading to Intelij Ultimate 2017.02 I've started to see DEBUG logs for Spring/Hibernate when running unit tests. 

0
Comment actions Permalink

It's configured via your logging properties. Make sure the logging framework you are using is loading the correct configuration.

0
Comment actions Permalink

My logging framework hasn't changed i.e older version of Intellij works differently with the same configuration. But I will try to look at my logging framework to see if it's loading properly, thanks!

0

Please sign in to leave a comment.