def get_logs(self, name):
logs = self.get_status()<EOL>for pod in self.list_pods(namespace=self.project):<EOL><INDENT>if name in pod.name:  <EOL><INDENT>pod_logs = pod.get_logs()<EOL>if pod_logs:<EOL><INDENT>logs += pod_logs<EOL><DEDENT><DEDENT><DEDENT>return logs<EOL>
Obtain cluster status and logs from all pods and print them using logger.
This method is useful for debugging.
:param name: str, name of app generated by oc new-app
:return: str, cluster status and logs from all pods