You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/13 18:36:00 UTC

[jira] [Commented] (AIRFLOW-5478) Decode PythonVirtualenvOperator Output to Logs

    [ https://issues.apache.org/jira/browse/AIRFLOW-5478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17177247#comment-17177247 ] 

ASF GitHub Bot commented on AIRFLOW-5478:
-----------------------------------------

jasonstitt commented on pull request #6097:
URL: https://github.com/apache/airflow/pull/6097#issuecomment-673642612


   Curious why this is not a significant error as log output appears to be functionally unusable when newlines aren't printed as newlines?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Decode PythonVirtualenvOperator Output to Logs
> ----------------------------------------------
>
>                 Key: AIRFLOW-5478
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5478
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: operators
>    Affects Versions: 1.10.3, 1.10.4, 1.10.5
>            Reporter: Raman Nanda
>            Priority: Minor
>
> Currently the PythonVirtualenvOperator's subprocess output does not decode the data received to UTF-8 so that it easily readable within Airflow's Logs
>  
> My hope a simple change to include ".decode('utf-8')" in the subprocess.check_output command will be enough



--
This message was sent by Atlassian Jira
(v8.3.4#803005)