4 comments

Most likely this happens because of failed tests. If everything is going fine - there is no DEBUG logging. Is everything fine locally?

0

Hello Alexandr,

Locally, all tests are green, but the log level is DEBUG as well

0
Avatar
Permanently deleted user

The debug level in our test framework is set to DEBUG to help diagnose the failing tests. The corresponding logger (com.intellij.testFramework.TestLogger) however, doesn't print all the debug messages to the console. It stores them in the internal buffer and prints its contents only when the test fails.

If you absolutely must avoid the DEBUG level in your tests, for example, when your code contains questionable `if logger.isDebugEnbled() calculatePiUpTo2BnDigit();` then you can change the logger to something else via

```

static {
Logger.setFactory(MyOwnLoggerFactory.class);
}

```

0

Please sign in to leave a comment.