How can I disable some logging messages in python?

25 Views Asked by At

Some logging message in request library in python are annoying.

I don't want to disable all, but only some messages. How can I implement this code:

def show_message(log)
    if log.startswith("message"):
        return False
    return True
0

There are 0 best solutions below