human
logging set verbosity.
assistant
Here is a Python program for logging set verbosity

import logging

def set_verbosity(level):
    """
    Set verbosity level.

    >>> set_verbosity(1)
    """
    logging.getLogger('rospy.log').setLevel(level)

# Enter the level
level = 1

# Calling the function
print((set_verbosity(level)))

#Example Output
# None

#Remember to inspect code for bugs.