OSSTaskHandler

Alibaba Cloud

OSSTaskHandler is a python log handler that handles and reads task instance logs. It extends airflow FileTaskHandler and uploads to and reads from OSS remote storage.

View on GitHub

Last Updated: Mar. 7, 2023

Access Instructions

Install the Alibaba Cloud provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

base_log_folderBase log folder to place logs.
filename_templatetemplate filename string

Documentation

OSSTaskHandler is a python log handler that handles and reads task instance logs. It extends airflow FileTaskHandler and uploads to and reads from OSS remote storage.

Was this page helpful?