[ https://issues.apache.org/jira/browse/AIRFLOW-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Imberman closed AIRFLOW-708. ----------------------------------- Resolution: Auto Closed > SSHExecuteOperator dont respect multiline output from the command > ------------------------------------------------------------------ > > Key: AIRFLOW-708 > URL: https://issues.apache.org/jira/browse/AIRFLOW-708 > Project: Apache Airflow > Issue Type: Bug > Reporter: Jay Sen > Assignee: Jay Sen > Priority: Major > > I find following piece of code works when you have 1 liner output but simply > cant work for multiline output from the given bash_command ( it will print > proper multiline output in log though ) > {code} > line = '' > for line in iter(sp.stdout.readline, b''): > line = line.decode().strip() > logging.info(line) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)