<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _update_handler(self, handler_class, level):
 """Update the level of an handler."""

        handler = self._get_handler(handler_class)
        handler.setLevel(level)