internetcoffeephone opened a new issue #16834:
URL: https://github.com/apache/airflow/issues/16834


   **Apache Airflow version**:
   2.1.0
   
   **What happened**:
   When printing emoji to a DAG log, the Airflow dashboard fails to display the 
entire log.
   When checking the output log in the Airflow dashboard, the following error 
message appears:
   
   > *** Failed to load local log file: 
/tmp/dag_name/task_name/2021-07-06T10:49:18.136953+00:00/1.log
   > *** 'ascii' codec can't decode byte 0xf0 in position 3424: ordinal not in 
range(128)
   
   **What you expected to happen**:
   The log should be displayed.
   
   <!-- What do you think went wrong? -->
   
   
   **How to reproduce it**:
   Insert the following into any Python DAG, then run it.
   `print("💼")`
   
   **How often does this problem occur?**
   Every log with an emoji in it prints an error.
   
   **Why would anyone even want to print emoji in their logs?**
   When they're part of the dataset you're processing.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to