Help with library and logger

My plugin is using a library and this library is logging on error: logger.error(“message”), the IDE is detecting that log and it’s showing the error notification for my plugin. I want to avoid that behavior.

How could I deal with that?

I had a similar problem with a library. A workaround is to turn off logging for the faulty classes:

Logger.getFactory().getLoggerInstance(AFaultyClass1.class.getName()).setLevel(LogLevel.OFF);
Logger.getFactory().getLoggerInstance(AFaultyClass2.class.getName()).setLevel(LogLevel.OFF);
...
2 Likes