How to stop/disable warnings from being printed to console?

I am trying to disable warnings from being printed to the console in UPBGE. Changing the log output message from Warning to Error does nothing. The tooltip actually says its for the root logger, which is different, so how can I disable warning messages from being printed to UPBGE’s python console?

Also, I keep getting the message in the console saying “Warning: mesh “[name]” has no vertices for material “MA”. It introduces performance decrease for empty render.” But upon closer examination, there are no material slots. I think I might have found a bug, since normally that warning is supposed to appear when you start the GE with a material that has been assigned to an object that has no vertices, yet has material slots, not the other way round.