shahar1 commented on code in PR #61701:
URL: https://github.com/apache/airflow/pull/61701#discussion_r2788926559


##########
providers/celery/src/airflow/providers/celery/cli/celery_command.py:
##########
@@ -166,7 +167,7 @@ def logger_setup_handler(logger, **kwargs):
     * logs of severity lower than error goes to stdout.
     """
     if conf.getboolean("logging", "celery_stdout_stderr_separation", 
fallback=False):
-        celery_formatter = logging.Formatter(DEFAULT_TASK_LOG_FMT)
+        celery_formatter = TaskFormatter(DEFAULT_TASK_LOG_FMT)

Review Comment:
   I took over and added myself (using GitHub Copilot), so I could include this 
PR in the release I cut in the next hour or so.



##########
providers/celery/src/airflow/providers/celery/cli/celery_command.py:
##########
@@ -166,7 +167,7 @@ def logger_setup_handler(logger, **kwargs):
     * logs of severity lower than error goes to stdout.
     """
     if conf.getboolean("logging", "celery_stdout_stderr_separation", 
fallback=False):
-        celery_formatter = logging.Formatter(DEFAULT_TASK_LOG_FMT)
+        celery_formatter = TaskFormatter(DEFAULT_TASK_LOG_FMT)

Review Comment:
   I took over and added myself (using GitHub Copilot), so I could include this 
PR in the release I cut in the next hour or so.
   @nailo2c great job! please note for your next PRs :)



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