@profiler.trace
def server_console_output(request, instance_id, tail_length=None):
 return novaclient(request).servers.get_console_output(instance_id, length=tail_length)

@ profiler . trace def server_console_output ( request , instance_id , tail_length = None ) : return novaclient ( request ) . servers . get_console_output ( instance_id , length = tail_length )
gets console output of an instance .