How to disable error logging for pyqt5


hi, when i use qtwebenginewidget from pyqt5 i always got this error

"[8644:9700:0617/] Connection InterfaceProviderSpec prevented service: content_renderer from binding interface: blink::mojom::BudgetService exposed by: content_browser

[9764:8224:0617/035833.968:ERROR:BudgetService.cpp(167)] Unable to connect to the Mojo BudgetService."

but i cannot find any fix to this problem so i decided to ignore it since it is not affecting anything.
so anyone can help so that those errors don’t appear in the command line ?


Hey @greixs I’m afraid I don’t know how to stop these messages — they’re coming from the Blink web engine, not sure if Python can actually intercept these.

But you’re right that they’re not important, just annoying.