<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_task(project_, task_):
 """Sets the active project and task. All subsequent logging will be saved to the database with that project and task. Args: project_ (str):
 active project name; a project can have multiple tasks. task_ (str):
 active task name. Logging is separated at the project and task level. """

    global project, task
    project = project_
    task = task_
    msg.okay("Set project name to {}.{}".format(project, task), 2)