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


##########
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:
   Could you please add a simple test for this?



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