2

As titled, I just implemented slf4j simple here and I got a massive noise..

In that output, for example, I'd like to keep only the warns at the end, that is:

[pool-1-thread-1] WARN assimp.Assimp - Collada: No material specified for subgroup <> in geometry <*>.

Is there a way to achieve that?

Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
elect
  • 6,765
  • 10
  • 53
  • 119

1 Answers1

2

As documented in https://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html, you can start with following system properties (if I understood what you want correctly):

-Dorg.slf4j.simpleLogger.defaultLogLevel=error
-Dorg.slf4j.simpleLogger.log.assimp.Assimp=warn

Customize further to taste.

Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487