airflow.providers.amazon.aws.utils.task_log_fetcher
¶
Module Contents¶
Classes¶
Fetch Cloudwatch log events with specific interval and send the log events to the logger.info. |
- class airflow.providers.amazon.aws.utils.task_log_fetcher.AwsTaskLogFetcher(*, log_group, log_stream_name, fetch_interval, logger, aws_conn_id='aws_default', region_name=None)[source]¶
Bases:
threading.Thread
Fetch Cloudwatch log events with specific interval and send the log events to the logger.info.
- run()[source]¶
Method representing the thread’s activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.