Set the LogLevel programmatically

So i am currently upgrading my liquibase Version to 4.22.0 and the following line doesnt work in the current version anymore:
LogFactory.getLogger().setLogLevel("warning");
But the Method LogFactory.getLogger() is deprecated and the Logger.setLogLevel-method doesnt even exist anymore
So i was wondering if there is a new way to programmatically set the log-level

Hi @Reapr,

It depends on the context of the code around this. Can you provide a bit more details about where you are setting it?

The default logger that Liquibase uses is java.util.logging, so if you are using that, you can configure the level in the normal way that you would with that.

-PJ