airflow.providers.amazon.aws.utils.task_log_fetcher
¶
Module Contents¶
Classes¶
Fetches Cloudwatch log events with specific interval as a thread |
- 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
Fetches Cloudwatch log events with specific interval as a thread and sends the log events to the info channel of the provided logger.
- 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.