def get_logs(client, pod, namespace, container=None):
    """
    makes a request against the Kubernetes api and displays the requested log

    :param client the Kubernetes api client
    :param str pod: the name of the pod
    :param str namespace: the namespace where to search for the pod
    :param str container: the name of the container for which to display the logs
    """

    log = client.read_namespaced_pod_log(pod, namespace, container=container)
    
    return log