In many collab and jupyter notebooks I see people use these lines like
tf.logging.set_verbosity(tf.logging.ERROR)