You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/06/15 14:40:57 UTC

[GitHub] [airflow] bbovenzi commented on a diff in pull request #24373: Fix timezone display for logs on UI by adding %z for %(asctime)s (#23796)

bbovenzi commented on code in PR #24373:
URL: https://github.com/apache/airflow/pull/24373#discussion_r898070795


##########
airflow/utils/log/colored_log.py:
##########
@@ -43,6 +43,9 @@ class CustomTTYColoredFormatter(TTYColoredFormatter):
     traceback.
     """
 
+    default_time_format = '%Y-%m-%d %H:%M:%S%z'
+    default_msec_format = '%s %03dms'

Review Comment:
   Why are we adding milliseconds to this PR? I don't think the logs showed ms before...



-- 
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: commits-unsubscribe@airflow.apache.org

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