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.

sounds strange.
i remember from long time ago (2.49 or so ), that strange things like this: “Warning: mesh “[name]” has no vertices for material “MA” … could be solved sometimes by create a new .blend and then append the objects in the new file— so that the data junk gets cleaned out.
i would give that a try. it seems like there are some data junks somewhere still in the blend.