<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def server_console_output(request, instance_id, tail_length=None):
 """Gets console output of an instance."""

    nc = _nova.novaclient(request)
    return nc.servers.get_console_output(instance_id, length=tail_length)