Taragolis commented on code in PR #39084:
URL: https://github.com/apache/airflow/pull/39084#discussion_r1570305169


##########
tests/core/test_logging_config.py:
##########
@@ -319,9 +322,10 @@ def 
test_log_group_arns_remote_logging_with_cloudwatch_handler(
 
     def test_loading_remote_logging_with_kwargs(self):
         """Test if logging can be configured successfully with kwargs"""
+        pytest.importorskip("airflow.providers.amazon", reason="'amazon' 
provider not installed")
         from airflow.config_templates import airflow_local_settings
         from airflow.logging_config import configure_logging
-        from airflow.utils.log.s3_task_handler import S3TaskHandler
+        from airflow.providers.amazon.aws.log.s3_task_handler import 
S3TaskHandler

Review Comment:
   Remote Logging is coupled with providers in core, at least with default 
template.
   Need to think how to improve remote logging and decouple remote logging from 
the core to entirely into the providers and keep backward compatibility



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