tf.compat.v1.logging.set_verbosity

Sets the threshold for what messages will be logged.